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.001091/0.001091, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001112/0.001113, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7093/0.7093, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 65.8 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1409, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6719/0.8129, allocations: 304.8 MB / 0.9292 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03521/0.8481, allocations: 27.45 MB / 0.9561 GB, free: 36 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004539/0.8527, allocations: 83.61 kB / 0.9561 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006437/0.8593, allocations: 2.213 MB / 0.9583 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008173/0.8675, allocations: 3.063 MB / 0.9613 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006669/0.8742, allocations: 2.759 MB / 0.964 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01064/0.8848, allocations: 7.258 MB / 0.9711 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00298/0.8878, allocations: 1.816 MB / 0.9728 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005051/0.8929, allocations: 2.281 MB / 0.9751 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002928/0.8959, allocations: 1.35 MB / 0.9764 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004198/0.8963, allocations: 212 kB / 0.9766 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006263/0.9026, allocations: 3.212 MB / 0.9797 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009538/0.9036, allocations: 0.7634 MB / 0.9805 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.9053, allocations: 1.26 MB / 0.9817 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009064/0.9144, allocations: 4.924 MB / 0.9865 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9144, allocations: 0 / 0.9865 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9144, allocations: 0 / 0.9865 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.127e-05/0.9145, allocations: 0 / 0.9865 GB, free: 0.75 MB / 0.7325 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.00499/0.9195, allocations: 2.735 MB / 0.9892 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.9196, allocations: 8.031 kB / 0.9892 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.9198, allocations: 172.9 kB / 0.9894 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004199/0.924, allocations: 0.7153 MB / 0.99 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009261/0.9333, allocations: 5.642 MB / 0.9956 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/0.9334, allocations: 82.19 kB / 0.9956 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.9335, allocations: 112 kB / 0.9957 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.9359, allocations: 1.398 MB / 0.9971 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.936, allocations: 11.94 kB / 0.9971 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.886e-05/0.9361, allocations: 48 kB / 0.9972 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.9361, allocations: 41.94 kB / 0.9972 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.9383, allocations: 0.9795 MB / 0.9982 GB, free: 4.527 MB / 0.7481 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.008344/0.9466, allocations: 7.676 MB / 1.006 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008461/0.9475, allocations: 363.8 kB / 1.006 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.9478, allocations: 114.5 kB / 1.006 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.9481, allocations: 194.1 kB / 1.006 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.9481, allocations: 38.56 kB / 1.006 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.9481, allocations: 0 / 1.006 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of matching and sorting (n=18): time 0.001805/0.9499, allocations: 0.5262 MB / 1.007 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.95, allocations: 55.34 kB / 1.007 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/0.9532, allocations: 2.28 MB / 1.009 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.9533, allocations: 33.7 kB / 1.009 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000818/0.9541, allocations: 0.9823 MB / 1.01 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.9542, allocations: 71.09 kB / 1.01 GB, free: 7.664 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/0.9545, allocations: 286.2 kB / 1.01 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9547, allocations: 349.9 kB / 1.011 GB, free: 7.027 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008565/0.9555, allocations: 456.9 kB / 1.011 GB, free: 6.578 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.9567, allocations: 0.8958 MB / 1.012 GB, free: 5.465 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.9584, allocations: 1.217 MB / 1.013 GB, free: 4.059 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.9584, allocations: 4 kB / 1.013 GB, free: 4.055 MB / 0.7637 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002662/0.9611, allocations: 1.502 MB / 1.015 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.9611, allocations: 10.03 kB / 1.015 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.9611, allocations: 16 kB / 1.015 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/0.9612, allocations: 20.78 kB / 1.015 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008345/0.962, allocations: 247.6 kB / 1.015 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.592e-05/0.962, allocations: 27.92 kB / 1.015 GB, free: 2.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.9634, allocations: 214 kB / 1.015 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.633e-05/0.9635, allocations: 55.97 kB / 1.015 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00148/0.965, allocations: 0.9388 MB / 1.016 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001113/0.9661, allocations: 0.884 MB / 1.017 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001598/0.9677, allocations: 1.205 MB / 1.018 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/0.9677, allocations: 4 kB / 1.018 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002374/0.9701, allocations: 1.487 MB / 1.02 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.9701, allocations: 8 kB / 1.02 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.9701, allocations: 16 kB / 1.02 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.9701, allocations: 20 kB / 1.02 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007536/0.9709, allocations: 248.2 kB / 1.02 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/0.9709, allocations: 27.92 kB / 1.02 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.972, allocations: 131.9 kB / 1.02 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/0.9721, allocations: 55.94 kB / 1.02 GB, free: 12.54 MB / 0.7794 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.0002109/0.9723, allocations: 243.8 kB / 1.02 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.9726, allocations: 205.3 kB / 1.021 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.9729, allocations: 176 kB / 1.021 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.9729, allocations: 4 kB / 1.021 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.9729, allocations: 0 / 1.021 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.9729, allocations: 3.938 kB / 1.021 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002841/0.9757, allocations: 1.854 MB / 1.023 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.9758, allocations: 4 kB / 1.023 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.976, allocations: 55.89 kB / 1.023 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.9761, allocations: 4 kB / 1.023 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.9761, allocations: 12.25 kB / 1.023 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.657e-06/0.9761, allocations: 15.86 kB / 1.023 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.9761, allocations: 11.94 kB / 1.023 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009372/0.9771, allocations: 0.5708 MB / 1.023 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/0.9775, allocations: 326.3 kB / 1.024 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.9777, allocations: 16.05 kB / 1.024 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007216/0.9785, allocations: 51.95 kB / 1.024 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.9785, allocations: 23.86 kB / 1.024 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.9785, allocations: 19.98 kB / 1.024 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002107/0.9806, allocations: 1.547 MB / 1.025 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9806, allocations: 0 / 1.025 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002102/0.9828, allocations: 0.8114 MB / 1.026 GB, free: 6.367 MB / 0.7794 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.001908/0.9847, allocations: 1.45 MB / 1.027 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002608/0.9873, allocations: 1.44 MB / 1.029 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9873, allocations: 0 / 1.029 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.9876, allocations: 124.2 kB / 1.029 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003878/0.9915, allocations: 1.069 MB / 1.03 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01935/1.011, allocations: 13.69 MB / 1.043 GB, free: 3.879 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.012, allocations: 1.477 MB / 1.045 GB, free: 2.367 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001627/1.014, allocations: 464.9 kB / 1.045 GB, free: 1.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008672/1.015, allocations: 0.7297 MB / 1.046 GB, free: 1.18 MB / 0.795 GB Notification: Performance of SimCode: time 8.22e-07/1.015, allocations: 0 / 1.046 GB, free: 1.18 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3639/1.378, allocations: 52.58 MB / 1.097 GB, free: 294.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/12.41, allocations: 10.11 kB / 1.097 GB, free: 294.3 MB / 0.795 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)