Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IDEAS_dev_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.0008985/0.0008984, allocations: 91.92 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.001075/0.001075, 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.501/1.501, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9428/0.9428, allocations: 135.3 MB / 426.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003193, allocations: 8 kB / 0.5071 GB, free: 5.047 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1802, allocations: 82.31 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.105/1.285, allocations: 313.1 MB / 0.8932 GB, free: 23.08 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04923/1.335, allocations: 34.02 MB / 0.9265 GB, free: 22.62 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006322/1.341, allocations: 114.3 kB / 0.9266 GB, free: 22.62 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006157/1.347, allocations: 1.485 MB / 0.928 GB, free: 22.61 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01677/1.364, allocations: 4.16 MB / 0.9321 GB, free: 22.43 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01069/1.375, allocations: 2.228 MB / 0.9343 GB, free: 22.35 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01862/1.393, allocations: 9.659 MB / 0.9437 GB, free: 22.34 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008325/1.402, allocations: 2.902 MB / 0.9465 GB, free: 21.93 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01115/1.413, allocations: 3.742 MB / 0.9502 GB, free: 21.88 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005867/1.419, allocations: 2.436 MB / 0.9526 GB, free: 21.79 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001311/1.42, allocations: 125.2 kB / 0.9527 GB, free: 21.79 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009427/1.43, allocations: 2.865 MB / 0.9555 GB, free: 21.16 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00257/1.432, allocations: 0.9611 MB / 0.9564 GB, free: 20.85 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002694/1.435, allocations: 0.7582 MB / 0.9572 GB, free: 20.82 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009719/1.445, allocations: 5.05 MB / 0.9621 GB, free: 18.27 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.445, allocations: 0 / 0.9621 GB, free: 18.27 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.154e-06/1.445, allocations: 0 / 0.9621 GB, free: 18.27 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002702/1.445, allocations: 0 / 0.9621 GB, free: 18.27 MB / 0.67 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.01048/1.456, allocations: 3.713 MB / 0.9657 GB, free: 15.97 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.456, allocations: 9.688 kB / 0.9657 GB, free: 15.97 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001301/1.457, allocations: 365.3 kB / 0.9661 GB, free: 15.85 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008118/1.465, allocations: 1.463 MB / 0.9675 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00706/1.472, allocations: 2.574 MB / 0.97 GB, free: 14.2 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/1.473, allocations: 0.54 MB / 0.9705 GB, free: 14.01 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009722/1.474, allocations: 257.9 kB / 0.9708 GB, free: 14.01 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009448/1.484, allocations: 3.473 MB / 0.9742 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.539e-05/1.484, allocations: 3.219 kB / 0.9742 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005584/1.485, allocations: 100.5 kB / 0.9743 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/1.485, allocations: 107.5 kB / 0.9744 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008043/1.493, allocations: 3.202 MB / 0.9775 GB, free: 12.41 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.0251/1.518, allocations: 14.44 MB / 0.9916 GB, free: 1.664 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003774/1.522, allocations: 1.87 MB / 0.9934 GB, free: 284 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/1.524, allocations: 0.8216 MB / 0.9942 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000485/1.524, allocations: 300.9 kB / 0.9945 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002332/1.526, allocations: 0.973 MB / 0.9955 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001926/1.528, allocations: 141.3 kB / 0.9956 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=108): time 8.165e-06/1.528, allocations: 0 / 0.9956 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=108): time 0.006931/1.535, allocations: 2.536 MB / 0.9981 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.586e-05/1.535, allocations: 119.1 kB / 0.9982 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006354/1.542, allocations: 2.835 MB / 1.001 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.00039/1.542, allocations: 52.14 kB / 1.001 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/1.544, allocations: 1.508 MB / 1.003 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006053/1.545, allocations: 385.6 kB / 1.003 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/1.545, allocations: 34 kB / 1.003 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.545, allocations: 358 kB / 1.003 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/1.547, allocations: 0.8969 MB / 1.004 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/1.55, allocations: 1.407 MB / 1.005 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/1.553, allocations: 1.029 MB / 1.006 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/1.553, allocations: 4 kB / 1.007 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006242/1.559, allocations: 2.539 MB / 1.009 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004112/1.559, allocations: 477.9 kB / 1.009 GB, free: 3.508 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/1.559, allocations: 12 kB / 1.009 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.871e-05/1.559, allocations: 20 kB / 1.009 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/1.562, allocations: 466.5 kB / 1.01 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.921e-05/1.562, allocations: 21.72 kB / 1.01 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00398/1.566, allocations: 0.5096 MB / 1.01 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/1.566, allocations: 73.41 kB / 1.01 GB, free: 2.496 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/1.566, allocations: 4 kB / 1.011 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005559/1.571, allocations: 2.27 MB / 1.013 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.915e-05/1.571, allocations: 14.3 kB / 1.013 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/1.572, allocations: 24 kB / 1.013 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/1.574, allocations: 463.8 kB / 1.013 GB, free: 412 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.537e-05/1.574, allocations: 26.38 kB / 1.013 GB, free: 392 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/1.578, allocations: 453.6 kB / 1.014 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/1.578, allocations: 79.03 kB / 1.014 GB, free: 15.9 MB / 0.7012 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.002213/1.58, allocations: 0.8538 MB / 1.015 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009192/1.581, allocations: 284.4 kB / 1.015 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005114/1.586, allocations: 1.958 MB / 1.017 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/1.586, allocations: 12 kB / 1.017 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.586, allocations: 0 / 1.017 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003463/1.59, allocations: 1.53 MB / 1.018 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/1.606, allocations: 4.971 MB / 1.023 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/1.606, allocations: 4 kB / 1.023 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.607, allocations: 285.5 kB / 1.023 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002717/1.607, allocations: 58.84 kB / 1.023 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/1.608, allocations: 37.5 kB / 1.023 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/1.609, allocations: 1.434 MB / 1.025 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/1.609, allocations: 12.88 kB / 1.025 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0067/1.616, allocations: 2.95 MB / 1.028 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/1.618, allocations: 0.5539 MB / 1.028 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009373/1.619, allocations: 25 kB / 1.028 GB, free: 4.262 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003112/1.622, allocations: 317.1 kB / 1.029 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003229/1.622, allocations: 91.22 kB / 1.029 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/1.623, allocations: 55.95 kB / 1.029 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.005001/1.628, allocations: 1.974 MB / 1.031 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.12e-07/1.628, allocations: 0 / 1.031 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.007082/1.635, allocations: 1.547 MB / 1.032 GB, free: 0.9492 MB / 0.7012 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.008775/1.644, allocations: 3.838 MB / 1.036 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007779/1.651, allocations: 3.152 MB / 1.039 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/1.651, allocations: 4.188 kB / 1.039 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002317/1.654, allocations: 0.939 MB / 1.04 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009094/1.663, allocations: 1.495 MB / 1.041 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05015/1.713, allocations: 20.73 MB / 1.062 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/1.716, allocations: 2.132 MB / 1.064 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00426/1.72, allocations: 0.7457 MB / 1.064 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/1.722, allocations: 1.282 MB / 1.066 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of SimCode: time 1.673e-06/1.722, allocations: 0 / 1.066 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/1.856, allocations: 79.16 MB / 1.143 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/1.857, allocations: 252.6 kB / 1.143 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.443/6.3, allocations: 0 / 1.143 GB, free: 4.961 MB / 0.8106 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) Environment - environmentSimulation: