Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_noReverseFlow",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.001107/0.001108, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001094/0.001094, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.186/1.186, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6738/0.6738, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2994, allocations: 77.93 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.5355/0.8349, allocations: 304.8 MB / 0.865 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02868/0.8636, allocations: 27.44 MB / 0.8918 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002969/0.8666, allocations: 81.78 kB / 0.8918 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008743/0.8754, allocations: 4.71 MB / 0.8964 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006649/0.8821, allocations: 2.916 MB / 0.8993 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005282/0.8874, allocations: 2.631 MB / 0.9019 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008587/0.896, allocations: 7.113 MB / 0.9088 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/0.8985, allocations: 1.802 MB / 0.9106 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004077/0.9026, allocations: 2.223 MB / 0.9127 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002343/0.9049, allocations: 1.292 MB / 0.914 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004816/0.9054, allocations: 208 kB / 0.9142 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005704/0.9111, allocations: 3.2 MB / 0.9173 GB, free: 80 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008404/0.912, allocations: 0.7519 MB / 0.9181 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.9137, allocations: 1.248 MB / 0.9193 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006338/0.9201, allocations: 4.83 MB / 0.924 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.9201, allocations: 0 / 0.924 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9201, allocations: 0 / 0.924 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.786e-05/0.9202, allocations: 0 / 0.924 GB, free: 9.223 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.004315/0.9245, allocations: 2.711 MB / 0.9266 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.9245, allocations: 8.625 kB / 0.9266 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.9247, allocations: 168.9 kB / 0.9268 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004028/0.9287, allocations: 0.7075 MB / 0.9275 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00843/0.9372, allocations: 5.542 MB / 0.9329 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003712/0.9376, allocations: 146.1 kB / 0.9331 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.9378, allocations: 104 kB / 0.9332 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.9403, allocations: 1.402 MB / 0.9345 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.9404, allocations: 7.938 kB / 0.9345 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.9405, allocations: 48 kB / 0.9346 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.9405, allocations: 45.98 kB / 0.9346 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.9428, allocations: 0.9873 MB / 0.9356 GB, free: 13.07 MB / 0.6544 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.007909/0.9508, allocations: 7.703 MB / 0.9431 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008066/0.9516, allocations: 373.2 kB / 0.9435 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.9519, allocations: 128.7 kB / 0.9436 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.9521, allocations: 186.2 kB / 0.9438 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.9522, allocations: 42.56 kB / 0.9438 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.9522, allocations: 0 / 0.9438 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.001389/0.9536, allocations: 0.5204 MB / 0.9443 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.9536, allocations: 63.34 kB / 0.9444 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.9565, allocations: 2.276 MB / 0.9466 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.9565, allocations: 33.7 kB / 0.9466 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007319/0.9572, allocations: 0.9824 MB / 0.9476 GB, free: 240 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.9573, allocations: 75.03 kB / 0.9477 GB, free: 164 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/0.9577, allocations: 286.2 kB / 0.9479 GB, free: 15.88 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.9578, allocations: 349.9 kB / 0.9483 GB, free: 15.53 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008606/0.9586, allocations: 460.9 kB / 0.9487 GB, free: 15.07 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.9598, allocations: 0.8997 MB / 0.9496 GB, free: 13.96 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.9614, allocations: 1.223 MB / 0.9508 GB, free: 12.55 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.9614, allocations: 4 kB / 0.9508 GB, free: 12.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002554/0.964, allocations: 1.514 MB / 0.9523 GB, free: 11.02 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.964, allocations: 15.94 kB / 0.9523 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.964, allocations: 19.94 kB / 0.9523 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.9641, allocations: 20 kB / 0.9523 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008095/0.9649, allocations: 247.8 kB / 0.9525 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.868e-05/0.9649, allocations: 31.86 kB / 0.9526 GB, free: 10.69 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.9662, allocations: 218.5 kB / 0.9528 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.797e-05/0.9663, allocations: 55.98 kB / 0.9528 GB, free: 10.42 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001345/0.9676, allocations: 0.9356 MB / 0.9538 GB, free: 9.477 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001022/0.9687, allocations: 0.8841 MB / 0.9546 GB, free: 8.391 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001501/0.9702, allocations: 1.204 MB / 0.9558 GB, free: 6.988 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.986e-06/0.9702, allocations: 8 kB / 0.9558 GB, free: 6.98 MB / 0.67 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002471/0.9727, allocations: 1.497 MB / 0.9573 GB, free: 5.477 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.9727, allocations: 12 kB / 0.9573 GB, free: 5.465 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.9727, allocations: 12 kB / 0.9573 GB, free: 5.453 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.9728, allocations: 27.97 kB / 0.9573 GB, free: 5.426 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.9735, allocations: 239.6 kB / 0.9575 GB, free: 5.191 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/0.9736, allocations: 31.98 kB / 0.9576 GB, free: 5.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.9747, allocations: 155.4 kB / 0.9577 GB, free: 5.008 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/0.9748, allocations: 55.98 kB / 0.9578 GB, free: 4.953 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001795/0.975, allocations: 239.9 kB / 0.958 GB, free: 4.711 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.9752, allocations: 197.4 kB / 0.9582 GB, free: 4.516 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.9755, allocations: 172 kB / 0.9584 GB, free: 4.344 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.9755, allocations: 4 kB / 0.9584 GB, free: 4.34 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9755, allocations: 4 kB / 0.9584 GB, free: 4.336 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.9755, allocations: 0 / 0.9584 GB, free: 4.336 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/0.9782, allocations: 1.866 MB / 0.9602 GB, free: 2.355 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.9783, allocations: 4 kB / 0.9602 GB, free: 2.352 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.9785, allocations: 51.84 kB / 0.9602 GB, free: 2.301 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.9785, allocations: 4 kB / 0.9602 GB, free: 2.297 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.9786, allocations: 15.98 kB / 0.9603 GB, free: 2.281 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.9786, allocations: 4 kB / 0.9603 GB, free: 2.277 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9786, allocations: 12.19 kB / 0.9603 GB, free: 2.266 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008563/0.9795, allocations: 0.5708 MB / 0.9608 GB, free: 1.621 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.9799, allocations: 322.4 kB / 0.9611 GB, free: 1.285 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.9801, allocations: 12 kB / 0.9611 GB, free: 1.273 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.9808, allocations: 55.86 kB / 0.9612 GB, free: 1.219 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.9809, allocations: 23.86 kB / 0.9612 GB, free: 1.195 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.9809, allocations: 11.98 kB / 0.9612 GB, free: 1.184 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001941/0.9828, allocations: 1.555 MB / 0.9628 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9829, allocations: 3.938 kB / 0.9628 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001781/0.9846, allocations: 0.8114 MB / 0.9635 GB, free: 14.8 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001773/0.9864, allocations: 1.456 MB / 0.965 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002477/0.9889, allocations: 1.452 MB / 0.9664 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.9889, allocations: 0 / 0.9664 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.9893, allocations: 121.8 kB / 0.9665 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/0.9929, allocations: 1.084 MB / 0.9676 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/1.011, allocations: 15.24 MB / 0.9824 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.012, allocations: 1.489 MB / 0.9839 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001808/1.014, allocations: 461 kB / 0.9843 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008/1.015, allocations: 0.7219 MB / 0.985 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of SimCode: time 1.934e-06/1.015, allocations: 0 / 0.985 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.323/3.338, allocations: 51.52 MB / 1.035 GB, free: 315.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/18.14, allocations: 8.531 kB / 1.035 GB, free: 315.1 MB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)