Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7677/0.7677, allocations: 132.3 MB / 423.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 9.062 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4206, allocations: 81.57 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7577/1.178, allocations: 313.1 MB / 0.8889 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03983/1.218, allocations: 34.04 MB / 0.9222 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005875/1.224, allocations: 115 kB / 0.9223 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00605/1.23, allocations: 1.483 MB / 0.9237 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01289/1.243, allocations: 4.17 MB / 0.9278 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007504/1.251, allocations: 2.219 MB / 0.93 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01306/1.264, allocations: 9.658 MB / 0.9394 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005128/1.269, allocations: 2.899 MB / 0.9422 GB, free: 19.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008929/1.278, allocations: 3.744 MB / 0.9459 GB, free: 18.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005112/1.283, allocations: 2.437 MB / 0.9483 GB, free: 18.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006448/1.284, allocations: 126 kB / 0.9484 GB, free: 18.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008397/1.292, allocations: 2.864 MB / 0.9512 GB, free: 17.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001561/1.294, allocations: 0.9659 MB / 0.9521 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001829/1.296, allocations: 0.7578 MB / 0.9529 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007315/1.303, allocations: 5.041 MB / 0.9578 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.303, allocations: 0 / 0.9578 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.644e-06/1.303, allocations: 0 / 0.9578 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.755e-05/1.303, allocations: 4 kB / 0.9578 GB, free: 12.13 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.007275/1.31, allocations: 3.707 MB / 0.9614 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.31, allocations: 12.03 kB / 0.9614 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006011/1.311, allocations: 368.6 kB / 0.9618 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007374/1.318, allocations: 1.469 MB / 0.9632 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005458/1.324, allocations: 2.571 MB / 0.9657 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001191/1.325, allocations: 0.5308 MB / 0.9663 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005021/1.326, allocations: 266.4 kB / 0.9665 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006403/1.332, allocations: 3.463 MB / 0.9699 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/1.332, allocations: 4 kB / 0.9699 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/1.332, allocations: 111.5 kB / 0.97 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/1.332, allocations: 108.1 kB / 0.9701 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006708/1.339, allocations: 3.2 MB / 0.9732 GB, free: 15.53 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02187/1.361, allocations: 14.42 MB / 0.9873 GB, free: 2.891 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00357/1.365, allocations: 1.879 MB / 0.9891 GB, free: 1.484 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/1.366, allocations: 0.824 MB / 0.9899 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003771/1.367, allocations: 302.4 kB / 0.9902 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00191/1.368, allocations: 0.9671 MB / 0.9912 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001211/1.37, allocations: 139.4 kB / 0.9913 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=108): time 3.096e-06/1.37, allocations: 3.938 kB / 0.9913 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=108): time 0.005956/1.376, allocations: 2.529 MB / 0.9938 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/1.376, allocations: 122.9 kB / 0.9939 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004164/1.38, allocations: 2.841 MB / 0.9967 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001789/1.38, allocations: 51.45 kB / 0.9967 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/1.381, allocations: 1.505 MB / 0.9982 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004225/1.382, allocations: 382 kB / 0.9986 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/1.382, allocations: 29.75 kB / 0.9986 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.382, allocations: 357.4 kB / 0.9989 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/1.384, allocations: 0.8978 MB / 0.9998 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00265/1.387, allocations: 1.407 MB / 1.001 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/1.389, allocations: 1.035 MB / 1.002 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/1.389, allocations: 3.953 kB / 1.002 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005795/1.395, allocations: 2.54 MB / 1.005 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003786/1.396, allocations: 476.9 kB / 1.005 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/1.396, allocations: 12 kB / 1.005 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.029e-05/1.396, allocations: 20 kB / 1.005 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/1.398, allocations: 473.6 kB / 1.006 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-05/1.398, allocations: 19.94 kB / 1.006 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/1.401, allocations: 0.5081 MB / 1.006 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/1.401, allocations: 70.53 kB / 1.006 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/1.401, allocations: 4 kB / 1.006 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004964/1.406, allocations: 2.27 MB / 1.008 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.519e-05/1.406, allocations: 15.95 kB / 1.008 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/1.407, allocations: 23.94 kB / 1.008 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/1.408, allocations: 463.3 kB / 1.009 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-05/1.409, allocations: 23.94 kB / 1.009 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/1.412, allocations: 450.2 kB / 1.009 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/1.412, allocations: 72.97 kB / 1.009 GB, free: 0.8594 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 177 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002004/1.414, allocations: 0.855 MB / 1.01 GB, free: 292 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006562/1.415, allocations: 288.4 kB / 1.011 GB, free: 0 / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004681/1.42, allocations: 1.96 MB / 1.012 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.42, allocations: 12 kB / 1.012 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.42, allocations: 0 / 1.012 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00321/1.423, allocations: 1.535 MB / 1.014 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009972/1.433, allocations: 4.982 MB / 1.019 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.433, allocations: 4 kB / 1.019 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/1.434, allocations: 283.7 kB / 1.019 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/1.435, allocations: 48.83 kB / 1.019 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-05/1.435, allocations: 35.98 kB / 1.019 GB, free: 8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/1.436, allocations: 1.432 MB / 1.021 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.436, allocations: 15.94 kB / 1.021 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00601/1.442, allocations: 2.943 MB / 1.023 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.443, allocations: 0.552 MB / 1.024 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006835/1.444, allocations: 34.52 kB / 1.024 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002747/1.447, allocations: 315.5 kB / 1.024 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/1.447, allocations: 92.78 kB / 1.024 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.447, allocations: 51.97 kB / 1.024 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004591/1.452, allocations: 1.978 MB / 1.026 GB, free: 360 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/1.452, allocations: 0 / 1.026 GB, free: 360 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.005415/1.457, allocations: 1.554 MB / 1.028 GB, free: 14.79 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007224/1.464, allocations: 3.831 MB / 1.032 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007327/1.472, allocations: 3.16 MB / 1.035 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.472, allocations: 0 / 1.035 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002017/1.474, allocations: 0.9398 MB / 1.036 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008112/1.482, allocations: 1.508 MB / 1.037 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04569/1.528, allocations: 20.73 MB / 1.057 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002448/1.53, allocations: 2.127 MB / 1.059 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004808/1.535, allocations: 0.7457 MB / 1.06 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/1.537, allocations: 1.287 MB / 1.061 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of SimCode: time 2.605e-06/1.537, allocations: 0 / 1.061 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4673/2.005, allocations: 79.13 MB / 1.139 GB, free: 333.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/2.005, allocations: 244.4 kB / 1.139 GB, free: 332.8 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.713/5.718, allocations: 0 / 1.139 GB, free: 332.8 MB / 0.7794 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) Environment - environmentSimulation: