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.001134/0.001133, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.001167/0.001167, allocations: 199.1 kB / 17.34 MB, free: 5.762 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.771/0.771, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 62.17 kB / 0.5572 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1554, 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.7014/0.8568, allocations: 304.8 MB / 0.9293 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03979/0.8967, allocations: 27.45 MB / 0.9561 GB, free: 56 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003547/0.9003, allocations: 75.73 kB / 0.9561 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006294/0.9066, allocations: 2.221 MB / 0.9583 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008828/0.9155, allocations: 3.061 MB / 0.9613 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007642/0.9231, allocations: 2.746 MB / 0.964 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01112/0.9343, allocations: 7.26 MB / 0.9711 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00325/0.9376, allocations: 1.82 MB / 0.9728 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005225/0.9428, allocations: 2.285 MB / 0.9751 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003166/0.946, allocations: 1.334 MB / 0.9764 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006638/0.9467, allocations: 220 kB / 0.9766 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007591/0.9543, allocations: 3.212 MB / 0.9797 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001197/0.9555, allocations: 0.7673 MB / 0.9805 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003013/0.9586, allocations: 1.26 MB / 0.9817 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.9701, allocations: 4.924 MB / 0.9865 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9701, allocations: 0 / 0.9865 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9701, allocations: 0 / 0.9865 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001095/0.9702, allocations: 0 / 0.9865 GB, free: 0.7773 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.005868/0.9761, allocations: 2.735 MB / 0.9892 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.9761, allocations: 8.031 kB / 0.9892 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002642/0.9764, allocations: 168.9 kB / 0.9893 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004433/0.9809, allocations: 0.7191 MB / 0.9901 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.9912, allocations: 5.633 MB / 0.9956 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.9914, allocations: 86.19 kB / 0.9956 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003002/0.9917, allocations: 116 kB / 0.9957 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/0.9944, allocations: 1.402 MB / 0.9971 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.9944, allocations: 7.938 kB / 0.9971 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.9946, allocations: 48 kB / 0.9972 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/0.9946, allocations: 38 kB / 0.9972 GB, free: 5.539 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.9968, allocations: 0.9816 MB / 0.9982 GB, free: 4.559 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.009147/1.006, allocations: 7.68 MB / 1.006 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/1.007, allocations: 367.8 kB / 1.006 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/1.007, allocations: 112.8 kB / 1.006 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/1.007, allocations: 190.2 kB / 1.006 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/1.008, allocations: 42.44 kB / 1.006 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=18): time 1.973e-06/1.008, allocations: 0 / 1.006 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=18): time 0.001571/1.009, allocations: 0.5203 MB / 1.007 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/1.009, allocations: 55.41 kB / 1.007 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/1.012, allocations: 2.276 MB / 1.009 GB, free: 8.805 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.27e-05/1.012, allocations: 33.7 kB / 1.009 GB, free: 8.766 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007518/1.013, allocations: 0.9823 MB / 1.01 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/1.013, allocations: 75.09 kB / 1.01 GB, free: 7.695 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/1.014, allocations: 286.2 kB / 1.01 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.014, allocations: 349.9 kB / 1.011 GB, free: 7.059 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008126/1.015, allocations: 452.9 kB / 1.011 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/1.016, allocations: 0.8997 MB / 1.012 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/1.017, allocations: 1.213 MB / 1.013 GB, free: 4.094 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/1.017, allocations: 4 kB / 1.013 GB, free: 4.09 MB / 0.7637 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00258/1.02, allocations: 1.494 MB / 1.015 GB, free: 2.586 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/1.02, allocations: 15.98 kB / 1.015 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/1.02, allocations: 22.28 kB / 1.015 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/1.02, allocations: 20.78 kB / 1.015 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000844/1.021, allocations: 247.6 kB / 1.015 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/1.021, allocations: 27.92 kB / 1.015 GB, free: 2.262 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/1.022, allocations: 214.1 kB / 1.015 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.142e-05/1.022, allocations: 55.98 kB / 1.015 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001442/1.024, allocations: 0.9427 MB / 1.016 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00103/1.025, allocations: 0.884 MB / 1.017 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00146/1.026, allocations: 1.201 MB / 1.018 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.983e-06/1.026, allocations: 8 kB / 1.018 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002377/1.029, allocations: 1.48 MB / 1.02 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.029, allocations: 12 kB / 1.02 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/1.029, allocations: 16 kB / 1.02 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.029, allocations: 20 kB / 1.02 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/1.03, allocations: 244.2 kB / 1.02 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/1.03, allocations: 27.92 kB / 1.02 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/1.031, allocations: 135.9 kB / 1.02 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/1.031, allocations: 51.94 kB / 1.02 GB, free: 12.57 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.0002564/1.031, allocations: 247.8 kB / 1.02 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/1.031, allocations: 197.4 kB / 1.021 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/1.032, allocations: 179.9 kB / 1.021 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/1.032, allocations: 3.984 kB / 1.021 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.032, allocations: 0 / 1.021 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.032, allocations: 3.938 kB / 1.021 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/1.035, allocations: 1.862 MB / 1.023 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.035, allocations: 4 kB / 1.023 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/1.035, allocations: 55.89 kB / 1.023 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/1.035, allocations: 4.25 kB / 1.023 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/1.035, allocations: 12 kB / 1.023 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.035, allocations: 7.984 kB / 1.023 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/1.035, allocations: 7.938 kB / 1.023 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008931/1.036, allocations: 0.5725 MB / 1.023 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/1.036, allocations: 330.3 kB / 1.024 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/1.037, allocations: 15.98 kB / 1.024 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00076/1.037, allocations: 43.95 kB / 1.024 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/1.037, allocations: 27.86 kB / 1.024 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/1.037, allocations: 12 kB / 1.024 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002053/1.039, allocations: 1.551 MB / 1.025 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.61e-07/1.039, allocations: 4 kB / 1.025 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001968/1.041, allocations: 0.8114 MB / 1.026 GB, free: 6.406 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.001838/1.043, allocations: 1.448 MB / 1.027 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002624/1.046, allocations: 1.439 MB / 1.029 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.046, allocations: 0 / 1.029 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/1.046, allocations: 128.2 kB / 1.029 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/1.05, allocations: 1.078 MB / 1.03 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/1.069, allocations: 13.68 MB / 1.043 GB, free: 3.91 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/1.07, allocations: 1.481 MB / 1.045 GB, free: 2.395 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001717/1.072, allocations: 457 kB / 1.045 GB, free: 1.945 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008926/1.073, allocations: 0.7297 MB / 1.046 GB, free: 1.215 MB / 0.795 GB Notification: Performance of SimCode: time 9.62e-07/1.073, allocations: 0 / 1.046 GB, free: 1.215 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3691/1.442, allocations: 52.59 MB / 1.097 GB, free: 292.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/12.57, allocations: 7.922 kB / 1.097 GB, free: 292.7 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)