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.001276/0.001276, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00161/0.00161, allocations: 177.3 kB / 15.94 MB, free: 228 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.512/1.512, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.028/1.028, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005158/0.0005159, allocations: 10.25 kB / 0.5069 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2505, allocations: 82.31 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7951/1.046, allocations: 276.7 MB / 0.8575 GB, free: 7.582 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.3781/1.424, allocations: 32.4 MB / 0.8891 GB, free: 20.5 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003626/1.427, allocations: 106.2 kB / 0.8892 GB, free: 20.5 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003908/1.431, allocations: 1.875 MB / 0.891 GB, free: 20.49 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0121/1.443, allocations: 5.548 MB / 0.8965 GB, free: 20.43 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006347/1.45, allocations: 2.763 MB / 0.8992 GB, free: 20.39 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007135/1.457, allocations: 5.021 MB / 0.9041 GB, free: 20.38 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/1.461, allocations: 2.959 MB / 0.907 GB, free: 19.95 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006122/1.467, allocations: 3.27 MB / 0.9101 GB, free: 19.94 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/1.469, allocations: 1.686 MB / 0.9118 GB, free: 19.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002955/1.469, allocations: 128.8 kB / 0.9119 GB, free: 19.93 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005418/1.475, allocations: 2.493 MB / 0.9144 GB, free: 19.93 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008462/1.476, allocations: 0.8881 MB / 0.9152 GB, free: 19.93 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008162/1.476, allocations: 0.7517 MB / 0.916 GB, free: 19.89 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004924/1.481, allocations: 4.796 MB / 0.9206 GB, free: 19.54 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/1.481, allocations: 1.062 kB / 0.9206 GB, free: 19.54 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.473e-06/1.481, allocations: 4 kB / 0.9206 GB, free: 19.54 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.139e-05/1.481, allocations: 0 / 0.9206 GB, free: 19.54 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.006349/1.488, allocations: 3.637 MB / 0.9242 GB, free: 17.7 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/1.488, allocations: 12.47 kB / 0.9242 GB, free: 17.7 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003928/1.488, allocations: 359.1 kB / 0.9245 GB, free: 17.63 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00698/1.495, allocations: 1.478 MB / 0.926 GB, free: 17.05 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004298/1.5, allocations: 2.598 MB / 0.9285 GB, free: 15.97 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001139/1.501, allocations: 0.5353 MB / 0.9291 GB, free: 15.78 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/1.501, allocations: 255.6 kB / 0.9293 GB, free: 15.78 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005229/1.506, allocations: 3.437 MB / 0.9327 GB, free: 14.8 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/1.506, allocations: 6.125 kB / 0.9327 GB, free: 14.8 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/1.507, allocations: 104.4 kB / 0.9328 GB, free: 14.8 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.44e-05/1.507, allocations: 109 kB / 0.9329 GB, free: 14.78 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005738/1.512, allocations: 3.185 MB / 0.936 GB, free: 14.19 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.0161/1.528, allocations: 14.5 MB / 0.9501 GB, free: 4.965 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/1.532, allocations: 1.872 MB / 0.952 GB, free: 4.453 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.801e-05/1.532, allocations: 36.56 kB / 0.952 GB, free: 4.445 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/1.534, allocations: 0.9675 MB / 0.9529 GB, free: 4.117 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001085/1.535, allocations: 131.9 kB / 0.9531 GB, free: 4.039 MB / 0.67 GB Notification: Performance of pre-optimization done (n=108): time 2.634e-06/1.535, allocations: 0 / 0.9531 GB, free: 4.039 MB / 0.67 GB Notification: Performance of matching and sorting (n=108): time 0.005216/1.54, allocations: 2.537 MB / 0.9555 GB, free: 3.363 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/1.54, allocations: 198.7 kB / 0.9557 GB, free: 3.145 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/1.543, allocations: 2.83 MB / 0.9585 GB, free: 2.426 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/1.543, allocations: 53.39 kB / 0.9585 GB, free: 2.395 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007884/1.544, allocations: 1.5 MB / 0.96 GB, free: 1.77 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/1.544, allocations: 381.6 kB / 0.9604 GB, free: 1.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-05/1.544, allocations: 28.84 kB / 0.9604 GB, free: 1.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.778e-05/1.544, allocations: 368.3 kB / 0.9608 GB, free: 1.172 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/1.546, allocations: 0.8881 MB / 0.9616 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/1.549, allocations: 1.405 MB / 0.963 GB, free: 212 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/1.551, allocations: 1.022 MB / 0.964 GB, free: 0 / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.551, allocations: 2.906 kB / 0.964 GB, free: 0 / 0.67 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005028/1.556, allocations: 2.54 MB / 0.9665 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.001636/1.557, allocations: 5.127 MB / 0.9715 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/1.557, allocations: 14.72 kB / 0.9715 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/1.557, allocations: 20.25 kB / 0.9715 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/1.559, allocations: 470.7 kB / 0.972 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/1.559, allocations: 23.28 kB / 0.972 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/1.563, allocations: 0.5066 MB / 0.9725 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.563, allocations: 76.12 kB / 0.9726 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.623e-06/1.563, allocations: 3.562 kB / 0.9726 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00466/1.568, allocations: 2.26 MB / 0.9748 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.568, allocations: 16.09 kB / 0.9748 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/1.568, allocations: 31.94 kB / 0.9748 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/1.569, allocations: 458.4 kB / 0.9752 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/1.57, allocations: 28.02 kB / 0.9753 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/1.572, allocations: 450 kB / 0.9757 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/1.572, allocations: 75.66 kB / 0.9758 GB, free: 7.727 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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.001344/1.574, allocations: 0.8517 MB / 0.9766 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/1.574, allocations: 280.4 kB / 0.9769 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/1.578, allocations: 1.888 MB / 0.9787 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/1.578, allocations: 12 kB / 0.9787 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.578, allocations: 0 / 0.9787 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002776/1.581, allocations: 1.373 MB / 0.9801 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008359/1.589, allocations: 5.359 MB / 0.9853 GB, free: 492 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.589, allocations: 8 kB / 0.9853 GB, free: 484 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/1.59, allocations: 287.8 kB / 0.9856 GB, free: 216 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/1.591, allocations: 55.31 kB / 0.9856 GB, free: 168 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-05/1.591, allocations: 41.73 kB / 0.9857 GB, free: 140 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009861/1.592, allocations: 1.45 MB / 0.9871 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.592, allocations: 11.53 kB / 0.9871 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005473/1.597, allocations: 3.774 MB / 0.9908 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.598, allocations: 0.5546 MB / 0.9913 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003418/1.599, allocations: 35.05 kB / 0.9914 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/1.601, allocations: 313.4 kB / 0.9917 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/1.601, allocations: 90.94 kB / 0.9918 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.601, allocations: 60.53 kB / 0.9918 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002766/1.604, allocations: 1.974 MB / 0.9937 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.51e-07/1.604, allocations: 0 / 0.9937 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003377/1.607, allocations: 1.541 MB / 0.9952 GB, free: 7.582 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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.006743/1.614, allocations: 6.512 MB / 1.002 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006467/1.621, allocations: 3.133 MB / 1.005 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.621, allocations: 5.75 kB / 1.005 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001882/1.623, allocations: 0.9469 MB / 1.006 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00704/1.63, allocations: 1.498 MB / 1.007 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/1.647, allocations: 16.73 MB / 1.023 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/1.649, allocations: 2.194 MB / 1.026 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00365/1.652, allocations: 0.7613 MB / 1.026 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/1.654, allocations: 1.279 MB / 1.028 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/1.654, allocations: 0 / 1.028 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6044/2.258, allocations: 77.16 MB / 1.103 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/2.258, allocations: 248.4 kB / 1.103 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.788/6.047, allocations: 0 / 1.103 GB, free: 13.35 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: