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.001544/0.001544, allocations: 100.9 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.001838/0.001838, allocations: 188.3 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.253/1.253, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7298/0.7298, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 64.12 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3081, allocations: 77.93 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.5426/0.8507, allocations: 304.8 MB / 0.865 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03234/0.883, allocations: 27.46 MB / 0.8918 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/0.8859, allocations: 75.62 kB / 0.8918 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008907/0.8948, allocations: 4.706 MB / 0.8964 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006889/0.9017, allocations: 2.919 MB / 0.8993 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005699/0.9074, allocations: 2.622 MB / 0.9019 GB, free: 68 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009791/0.9172, allocations: 7.115 MB / 0.9088 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003155/0.9204, allocations: 1.806 MB / 0.9106 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005008/0.9254, allocations: 2.219 MB / 0.9127 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.928, allocations: 1.296 MB / 0.914 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006016/0.9286, allocations: 208 kB / 0.9142 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006018/0.9347, allocations: 3.204 MB / 0.9173 GB, free: 148 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00087/0.9355, allocations: 0.7478 MB / 0.9181 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001719/0.9373, allocations: 1.252 MB / 0.9193 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006596/0.9439, allocations: 4.823 MB / 0.924 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9439, allocations: 0 / 0.924 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9439, allocations: 0 / 0.924 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.198e-05/0.944, allocations: 0 / 0.924 GB, free: 9.297 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.004843/0.9488, allocations: 2.711 MB / 0.9266 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.9489, allocations: 8.031 kB / 0.9266 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001983/0.9491, allocations: 172.9 kB / 0.9268 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004189/0.9533, allocations: 0.7075 MB / 0.9275 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008985/0.9623, allocations: 5.549 MB / 0.9329 GB, free: 12 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004065/0.9627, allocations: 138.1 kB / 0.933 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.9629, allocations: 112 kB / 0.9332 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/0.9653, allocations: 1.403 MB / 0.9345 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.9653, allocations: 0 / 0.9345 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.9655, allocations: 51.94 kB / 0.9346 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.466e-05/0.9655, allocations: 49.98 kB / 0.9346 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.9678, allocations: 0.9717 MB / 0.9356 GB, free: 13.15 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.008271/0.9761, allocations: 7.711 MB / 0.9431 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/0.977, allocations: 367.8 kB / 0.9435 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.9773, allocations: 128.7 kB / 0.9436 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.9776, allocations: 182.2 kB / 0.9437 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.9776, allocations: 38.55 kB / 0.9438 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.744e-06/0.9776, allocations: 4 kB / 0.9438 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.001495/0.9791, allocations: 0.5223 MB / 0.9443 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.9792, allocations: 55.39 kB / 0.9444 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/0.9822, allocations: 2.284 MB / 0.9466 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.9823, allocations: 29.7 kB / 0.9466 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007711/0.9831, allocations: 0.9824 MB / 0.9476 GB, free: 324 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.9832, allocations: 79.03 kB / 0.9476 GB, free: 244 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003533/0.9835, allocations: 278.2 kB / 0.9479 GB, free: 15.96 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9836, allocations: 357.9 kB / 0.9483 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009007/0.9846, allocations: 460.9 kB / 0.9487 GB, free: 15.15 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.9857, allocations: 0.8997 MB / 0.9496 GB, free: 14.04 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.9874, allocations: 1.226 MB / 0.9508 GB, free: 12.62 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.9874, allocations: 8 kB / 0.9508 GB, free: 12.61 MB / 0.67 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002737/0.9902, allocations: 1.507 MB / 0.9522 GB, free: 11.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.9902, allocations: 15.94 kB / 0.9523 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.9903, allocations: 16 kB / 0.9523 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.9903, allocations: 20 kB / 0.9523 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008916/0.9912, allocations: 251.6 kB / 0.9525 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.788e-05/0.9912, allocations: 31.86 kB / 0.9526 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.9926, allocations: 207.2 kB / 0.9528 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.327e-05/0.9927, allocations: 55.98 kB / 0.9528 GB, free: 10.51 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001476/0.9942, allocations: 0.9317 MB / 0.9537 GB, free: 9.57 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001074/0.9952, allocations: 0.8957 MB / 0.9546 GB, free: 8.473 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001527/0.9968, allocations: 1.204 MB / 0.9558 GB, free: 7.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.163e-06/0.9968, allocations: 4 kB / 0.9558 GB, free: 7.066 MB / 0.67 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002501/0.9993, allocations: 1.497 MB / 0.9572 GB, free: 5.562 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.9993, allocations: 14.19 kB / 0.9573 GB, free: 5.551 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.9994, allocations: 12.84 kB / 0.9573 GB, free: 5.539 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.9994, allocations: 27.92 kB / 0.9573 GB, free: 5.512 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007908/1, allocations: 243.6 kB / 0.9575 GB, free: 5.273 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/1, allocations: 31.86 kB / 0.9576 GB, free: 5.242 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/1.001, allocations: 155.4 kB / 0.9577 GB, free: 5.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/1.002, allocations: 52 kB / 0.9578 GB, free: 5.039 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.0002/1.002, allocations: 247.9 kB / 0.958 GB, free: 4.789 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/1.002, allocations: 201.4 kB / 0.9582 GB, free: 4.59 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/1.002, allocations: 167.9 kB / 0.9583 GB, free: 4.422 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.002, allocations: 4 kB / 0.9583 GB, free: 4.418 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.002, allocations: 128 / 0.9583 GB, free: 4.418 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.002, allocations: 4 kB / 0.9584 GB, free: 4.414 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/1.005, allocations: 1.866 MB / 0.9602 GB, free: 2.434 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.005, allocations: 4 kB / 0.9602 GB, free: 2.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/1.006, allocations: 51.84 kB / 0.9602 GB, free: 2.379 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/1.006, allocations: 8 kB / 0.9602 GB, free: 2.371 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/1.006, allocations: 11.98 kB / 0.9602 GB, free: 2.359 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/1.006, allocations: 11.94 kB / 0.9603 GB, free: 2.348 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.006, allocations: 4 kB / 0.9603 GB, free: 2.344 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009012/1.006, allocations: 0.5709 MB / 0.9608 GB, free: 1.699 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/1.007, allocations: 326.4 kB / 0.9611 GB, free: 1.359 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/1.007, allocations: 7.984 kB / 0.9611 GB, free: 1.352 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007972/1.008, allocations: 55.86 kB / 0.9612 GB, free: 1.297 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/1.008, allocations: 23.86 kB / 0.9612 GB, free: 1.273 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/1.008, allocations: 19.92 kB / 0.9612 GB, free: 1.254 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002021/1.01, allocations: 1.551 MB / 0.9627 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3e-07/1.01, allocations: 0 / 0.9627 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001888/1.012, allocations: 0.8114 MB / 0.9635 GB, free: 14.88 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.001766/1.014, allocations: 1.458 MB / 0.965 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002595/1.016, allocations: 1.451 MB / 0.9664 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.016, allocations: 4 kB / 0.9664 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003301/1.017, allocations: 129.5 kB / 0.9665 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/1.02, allocations: 1.073 MB / 0.9676 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/1.04, allocations: 15.25 MB / 0.9825 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.041, allocations: 1.485 MB / 0.9839 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001941/1.043, allocations: 461 kB / 0.9843 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008594/1.044, allocations: 0.7297 MB / 0.9851 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of SimCode: time 6.32e-07/1.044, allocations: 0 / 0.9851 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3035/1.347, allocations: 51.51 MB / 1.035 GB, free: 317.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/9.45, allocations: 7.922 kB / 1.035 GB, free: 317.2 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)