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: translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 112 kB / 16.37 MB, free: 6.344 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.00181/0.00181, allocations: 188.6 kB / 17.3 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7593/0.7593, allocations: 132.2 MB / 423.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 66.42 kB / 0.5819 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1479, allocations: 80.21 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.6772/0.8251, allocations: 342.4 MB / 0.9946 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.04379/0.869, allocations: 36.54 MB / 1.03 GB, free: 10.45 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004819/0.8738, allocations: 135.2 kB / 1.03 GB, free: 10.31 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.006025/0.8799, allocations: 2.334 MB / 1.033 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01397/0.8939, allocations: 5.758 MB / 1.038 GB, free: 2.188 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.007812/0.9017, allocations: 3.044 MB / 1.041 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01182/0.9136, allocations: 8.565 MB / 1.05 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006183/0.9198, allocations: 4.192 MB / 1.054 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4847/1.405, allocations: 4.925 MB / 1.059 GB, free: 26.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007233/1.412, allocations: 2.698 MB / 1.061 GB, free: 26.32 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001916/1.414, allocations: 372.5 kB / 1.062 GB, free: 26.32 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0133/1.427, allocations: 5.131 MB / 1.067 GB, free: 26.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003362/1.43, allocations: 1.262 MB / 1.068 GB, free: 26.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.005169/1.436, allocations: 2.076 MB / 1.07 GB, free: 26.31 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01505/1.451, allocations: 7.134 MB / 1.077 GB, free: 25.67 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.451, allocations: 0 / 1.077 GB, free: 25.67 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.713e-06/1.451, allocations: 0 / 1.077 GB, free: 25.67 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002106/1.451, allocations: 0.7188 kB / 1.077 GB, free: 25.67 MB / 0.8106 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.0119/1.463, allocations: 4.376 MB / 1.081 GB, free: 23.71 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.463, allocations: 9.5 kB / 1.081 GB, free: 23.71 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008588/1.472, allocations: 1.375 MB / 1.082 GB, free: 23.51 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006743/1.478, allocations: 2.853 MB / 1.085 GB, free: 22.85 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/1.479, allocations: 287.8 kB / 1.086 GB, free: 22.75 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008969/1.48, allocations: 263 kB / 1.086 GB, free: 22.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007826/1.487, allocations: 3.347 MB / 1.089 GB, free: 22.45 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.145e-05/1.488, allocations: 5.281 kB / 1.089 GB, free: 22.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/1.488, allocations: 111.9 kB / 1.089 GB, free: 22.45 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/1.488, allocations: 109.2 kB / 1.089 GB, free: 22.44 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007289/1.495, allocations: 2.946 MB / 1.092 GB, free: 22.41 MB / 0.8106 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.02137/1.517, allocations: 14.19 MB / 1.106 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/1.52, allocations: 1.576 MB / 1.108 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/1.521, allocations: 0.6851 MB / 1.108 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003466/1.522, allocations: 304.9 kB / 1.108 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00173/1.524, allocations: 0.8141 MB / 1.109 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=104): time 2.926e-06/1.524, allocations: 0 / 1.109 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of matching and sorting (n=104): time 0.005769/1.529, allocations: 2.144 MB / 1.111 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/1.529, allocations: 121.5 kB / 1.111 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004087/1.534, allocations: 2.598 MB / 1.114 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003303/1.534, allocations: 52.2 kB / 1.114 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1.535, allocations: 1.59 MB / 1.116 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004339/1.536, allocations: 373.3 kB / 1.116 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005644/1.536, allocations: 371.2 kB / 1.116 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.942e-05/1.536, allocations: 307.4 kB / 1.117 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/1.538, allocations: 0.7517 MB / 1.117 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/1.54, allocations: 1.505 MB / 1.119 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/1.544, allocations: 2.179 MB / 1.121 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-05/1.544, allocations: 8.719 kB / 1.121 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005579/1.549, allocations: 2.448 MB / 1.123 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.048e-05/1.55, allocations: 50.3 kB / 1.123 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/1.55, allocations: 19.91 kB / 1.123 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.399e-05/1.55, allocations: 35.84 kB / 1.123 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/1.552, allocations: 465.3 kB / 1.124 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.439e-05/1.552, allocations: 45.34 kB / 1.124 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/1.555, allocations: 340.2 kB / 1.124 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/1.555, allocations: 96.27 kB / 1.124 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003132/1.558, allocations: 1.427 MB / 1.126 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00215/1.56, allocations: 1.49 MB / 1.127 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003585/1.564, allocations: 2.142 MB / 1.129 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.68e-05/1.564, allocations: 13.58 kB / 1.129 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=219) (initialization_lambda0): time 0.005395/1.569, allocations: 2.419 MB / 1.132 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/1.569, allocations: 39.64 kB / 1.132 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/1.569, allocations: 21.59 kB / 1.132 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/1.569, allocations: 39.44 kB / 1.132 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/1.571, allocations: 465.5 kB / 1.132 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.329e-05/1.571, allocations: 45.41 kB / 1.132 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/1.574, allocations: 287.5 kB / 1.133 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/1.574, allocations: 95.42 kB / 1.133 GB, free: 8.547 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (216): * Single equations (assignments): 213 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005117/1.575, allocations: 304.7 kB / 1.133 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/1.575, allocations: 277.1 kB / 1.133 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/1.579, allocations: 1.655 MB / 1.135 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.579, allocations: 14.36 kB / 1.135 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.579, allocations: 0 / 1.135 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002673/1.582, allocations: 1.298 MB / 1.136 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008134/1.59, allocations: 4.319 MB / 1.14 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/1.59, allocations: 8.406 kB / 1.14 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/1.591, allocations: 235.6 kB / 1.141 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002083/1.592, allocations: 53.53 kB / 1.141 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.665e-05/1.592, allocations: 33 kB / 1.141 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009217/1.593, allocations: 1.536 MB / 1.142 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.593, allocations: 10.41 kB / 1.142 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005037/1.598, allocations: 2.528 MB / 1.145 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.599, allocations: 0.5043 MB / 1.145 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004666/1.599, allocations: 31.5 kB / 1.145 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/1.601, allocations: 121.8 kB / 1.145 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.601, allocations: 84.31 kB / 1.145 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.602, allocations: 52.3 kB / 1.145 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002799/1.604, allocations: 1.763 MB / 1.147 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.01e-07/1.604, allocations: 3.938 kB / 1.147 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004404/1.609, allocations: 1.52 MB / 1.149 GB, free: 4.578 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (103): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009901/1.61, allocations: 447.6 kB / 1.149 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006281/1.616, allocations: 2.878 MB / 1.152 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.616, allocations: 3.375 kB / 1.152 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/1.618, allocations: 0.7861 MB / 1.153 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006171/1.624, allocations: 1.291 MB / 1.154 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/1.634, allocations: 5.716 MB / 1.159 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/1.636, allocations: 2.107 MB / 1.161 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009267/1.637, allocations: 207.9 kB / 1.162 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of SimCode: time 7.31e-07/1.637, allocations: 0 / 1.162 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of Templates: time 0.07432/1.711, allocations: 55.5 MB / 1.216 GB, free: 6.484 MB / 0.8731 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (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 & ./IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)