Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.704/2.704, allocations: 287.5 MB / 302.4 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001376, allocations: 180.7 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.185/2.185, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000903/0.0009025, allocations: 97.66 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000656/0.0006562, allocations: 11.23 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2239, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.139/1.363, allocations: 285.6 MB / 1.257 GB, free: 14.28 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.06038/1.424, allocations: 28.1 MB / 1.285 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004194/1.428, allocations: 67.56 kB / 1.285 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0088/1.437, allocations: 0.9743 MB / 1.286 GB, free: 1.074 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01476/1.452, allocations: 2.184 MB / 1.288 GB, free: 14.88 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01267/1.464, allocations: 1.741 MB / 1.29 GB, free: 13.16 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01494/1.479, allocations: 5.1 MB / 1.295 GB, free: 8.043 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005154/1.484, allocations: 1.393 MB / 1.296 GB, free: 6.617 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006506/1.491, allocations: 1.786 MB / 1.298 GB, free: 4.824 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003625/1.495, allocations: 1.249 MB / 1.299 GB, free: 3.57 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006372/1.495, allocations: 68 kB / 1.299 GB, free: 3.504 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008255/1.504, allocations: 2.015 MB / 1.301 GB, free: 1.484 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001305/1.505, allocations: 494.2 kB / 1.301 GB, free: 1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/1.506, allocations: 460.6 kB / 1.302 GB, free: 0.543 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.007506/1.514, allocations: 3.406 MB / 1.305 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/1.514, allocations: 7.938 kB / 1.305 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.016e-06/1.514, allocations: 0 / 1.305 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.82e-05/1.514, allocations: 0 / 1.305 GB, free: 13.12 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006582/1.521, allocations: 2.119 MB / 1.307 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.521, allocations: 12.02 kB / 1.307 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009756/1.53, allocations: 0.8638 MB / 1.308 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006312/1.537, allocations: 1.926 MB / 1.31 GB, free: 8.078 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001291/1.538, allocations: 234.5 kB / 1.31 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005241/1.539, allocations: 132 kB / 1.31 GB, free: 7.719 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006382/1.545, allocations: 1.665 MB / 1.312 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.932e-05/1.545, allocations: 3.984 kB / 1.312 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/1.545, allocations: 52 kB / 1.312 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/1.546, allocations: 50.52 kB / 1.312 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007573/1.553, allocations: 1.501 MB / 1.313 GB, free: 4.383 MB / 0.8386 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.0191/1.572, allocations: 7.387 MB / 1.321 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004337/1.577, allocations: 0.6883 MB / 1.321 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/1.578, allocations: 308.4 kB / 1.322 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000423/1.579, allocations: 194.2 kB / 1.322 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/1.579, allocations: 38.56 kB / 1.322 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001058/1.58, allocations: 78.97 kB / 1.322 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 3.817e-06/1.58, allocations: 0 / 1.322 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.005798/1.586, allocations: 1.329 MB / 1.323 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/1.586, allocations: 55.41 kB / 1.323 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005566/1.591, allocations: 1.851 MB / 1.325 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001959/1.592, allocations: 37.7 kB / 1.325 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001171/1.593, allocations: 0.8153 MB / 1.326 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/1.593, allocations: 134.1 kB / 1.326 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/1.593, allocations: 8 kB / 1.326 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.593, allocations: 330 kB / 1.326 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/1.596, allocations: 413.1 kB / 1.327 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002761/1.599, allocations: 0.6508 MB / 1.327 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/1.601, allocations: 457.5 kB / 1.328 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/1.601, allocations: 0 / 1.328 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.006458/1.608, allocations: 1.405 MB / 1.329 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003095/1.608, allocations: 292.2 kB / 1.33 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/1.608, allocations: 4 kB / 1.33 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/1.608, allocations: 57.69 kB / 1.33 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/1.611, allocations: 219.8 kB / 1.33 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/1.614, allocations: 2.825 MB / 1.333 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/1.618, allocations: 277.5 kB / 1.333 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/1.618, allocations: 35.98 kB / 1.333 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.618, allocations: 4 kB / 1.333 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005073/1.623, allocations: 1.152 MB / 1.334 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/1.623, allocations: 8 kB / 1.334 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/1.624, allocations: 61.66 kB / 1.334 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/1.626, allocations: 203.8 kB / 1.334 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/1.629, allocations: 2.817 MB / 1.337 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003148/1.632, allocations: 212.4 kB / 1.337 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/1.632, allocations: 31.98 kB / 1.337 GB, free: 10.51 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001615/1.634, allocations: 0.5243 MB / 1.338 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005672/1.634, allocations: 165.8 kB / 1.338 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003764/1.638, allocations: 0.9253 MB / 1.339 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/1.638, allocations: 4 kB / 1.339 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.638, allocations: 4 kB / 1.339 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/1.638, allocations: 0 / 1.339 GB, free: 8.824 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.006923/1.645, allocations: 2.185 MB / 1.341 GB, free: 6.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/1.645, allocations: 4 kB / 1.341 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.646, allocations: 95.98 kB / 1.341 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002487/1.647, allocations: 53.69 kB / 1.341 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/1.647, allocations: 11.98 kB / 1.341 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003196/1.65, allocations: 2.825 MB / 1.344 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.65, allocations: 7.969 kB / 1.344 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/1.653, allocations: 0.9818 MB / 1.345 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.655, allocations: 326.9 kB / 1.345 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/1.655, allocations: 8 kB / 1.345 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/1.657, allocations: 139.7 kB / 1.345 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.657, allocations: 35.86 kB / 1.345 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.131e-05/1.658, allocations: 23.97 kB / 1.345 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004407/1.662, allocations: 1.305 MB / 1.347 GB, free: 324 kB / 0.8698 GB Notification: Performance of sort global known variables: time 3.768e-06/1.662, allocations: 0 / 1.347 GB, free: 324 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004221/1.666, allocations: 0.7836 MB / 1.347 GB, free: 15.52 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/1.667, allocations: 303 kB / 1.348 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007419/1.675, allocations: 1.731 MB / 1.349 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.675, allocations: 0 / 1.349 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/1.677, allocations: 0.4897 MB / 1.35 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008332/1.685, allocations: 0.9714 MB / 1.351 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00865/1.694, allocations: 3.122 MB / 1.354 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/1.695, allocations: 1.34 MB / 1.355 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003447/1.699, allocations: 378.9 kB / 1.356 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006896/1.7, allocations: 119.4 kB / 1.356 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of SimCode: time 1.242e-06/1.7, allocations: 0 / 1.356 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of Templates: time 0.09512/1.795, allocations: 33.21 MB / 1.388 GB, free: 5.992 MB / 0.9167 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)