Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",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.001507/0.001507, allocations: 104.2 kB / 16.4 MB, free: 6.492 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.001646/0.001646, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7067/0.7067, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 68.55 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1468, allocations: 76.19 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5202/0.667, allocations: 161.3 MB / 0.7891 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005231/0.6722, allocations: 4.542 MB / 0.7936 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004982/0.6728, allocations: 15.95 kB / 0.7936 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004991/0.6734, allocations: 124.8 kB / 0.7937 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.6744, allocations: 334 kB / 0.794 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008423/0.6752, allocations: 270.9 kB / 0.7943 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007936/0.6761, allocations: 0.5598 MB / 0.7948 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.6765, allocations: 213 kB / 0.795 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.6776, allocations: 461.4 kB / 0.7955 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.6779, allocations: 187.6 kB / 0.7957 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.724e-05/0.678, allocations: 14.97 kB / 0.7957 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.6782, allocations: 83.19 kB / 0.7958 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.6783, allocations: 97.42 kB / 0.7959 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.6785, allocations: 118.4 kB / 0.796 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.6789, allocations: 296.2 kB / 0.7962 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6789, allocations: 0 / 0.7962 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6789, allocations: 7.469 kB / 0.7963 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.6789, allocations: 1.203 kB / 0.7963 GB, free: 12.48 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008445/0.6798, allocations: 0.5202 MB / 0.7968 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.6798, allocations: 11.91 kB / 0.7968 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.658e-05/0.6799, allocations: 54.41 kB / 0.7968 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.197e-05/0.68, allocations: 35.22 kB / 0.7969 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.6804, allocations: 277.6 kB / 0.7971 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.6804, allocations: 18.91 kB / 0.7971 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.6805, allocations: 19.94 kB / 0.7972 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.6809, allocations: 263.8 kB / 0.7974 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6809, allocations: 4 kB / 0.7974 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.6809, allocations: 10.94 kB / 0.7974 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.6809, allocations: 5.344 kB / 0.7974 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.6812, allocations: 149 kB / 0.7976 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.6825, allocations: 1.376 MB / 0.7989 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.6828, allocations: 179.9 kB / 0.7991 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.683, allocations: 92.5 kB / 0.7992 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/0.6833, allocations: 123.5 kB / 0.7993 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.6833, allocations: 40.81 kB / 0.7993 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.6833, allocations: 0 / 0.7993 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0005597/0.6839, allocations: 206.2 kB / 0.7995 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.684, allocations: 186.5 kB / 0.7997 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.6842, allocations: 288.7 kB / 0.8 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.6843, allocations: 32.89 kB / 0.8 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.6844, allocations: 150 kB / 0.8002 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.6844, allocations: 31.28 kB / 0.8002 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.6845, allocations: 39.75 kB / 0.8002 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6846, allocations: 337.8 kB / 0.8005 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.6847, allocations: 43.22 kB / 0.8006 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.6849, allocations: 118.6 kB / 0.8007 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.6851, allocations: 158.1 kB / 0.8009 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6851, allocations: 0 / 0.8009 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003403/0.6855, allocations: 188.6 kB / 0.801 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6855, allocations: 11.78 kB / 0.801 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6855, allocations: 6.719 kB / 0.8011 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.6856, allocations: 7.156 kB / 0.8011 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.6857, allocations: 30.94 kB / 0.8011 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.6857, allocations: 9.375 kB / 0.8011 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.6859, allocations: 24.69 kB / 0.8011 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.6859, allocations: 9.828 kB / 0.8011 GB, free: 9.078 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001189/0.686, allocations: 144.9 kB / 0.8013 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.6862, allocations: 30.69 kB / 0.8013 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.6865, allocations: 136.7 kB / 0.8014 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6865, allocations: 1.203 kB / 0.8014 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6865, allocations: 3.844 kB / 0.8014 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6865, allocations: 2.844 kB / 0.8014 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/0.6872, allocations: 0.7723 MB / 0.8022 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6873, allocations: 0 / 0.8022 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.6874, allocations: 26.62 kB / 0.8022 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.6874, allocations: 2.781 kB / 0.8022 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.6874, allocations: 2.5 kB / 0.8022 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.6874, allocations: 2.562 kB / 0.8022 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6874, allocations: 0 / 0.8022 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.6879, allocations: 342.5 kB / 0.8025 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.862e-05/0.688, allocations: 117.3 kB / 0.8027 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.688, allocations: 2.25 kB / 0.8027 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.6881, allocations: 7.453 kB / 0.8027 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.6882, allocations: 20.16 kB / 0.8027 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.6882, allocations: 2.812 kB / 0.8027 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001663/0.6884, allocations: 212.3 kB / 0.8029 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6884, allocations: 0 / 0.8029 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003285/0.6887, allocations: 63.25 kB / 0.803 GB, free: 7.844 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0008691/0.6896, allocations: 0.9142 MB / 0.8038 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.6899, allocations: 131.5 kB / 0.804 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6899, allocations: 0 / 0.804 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.6901, allocations: 55.73 kB / 0.804 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006595/0.6907, allocations: 128.5 kB / 0.8041 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.6935, allocations: 2.61 MB / 0.8067 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.6938, allocations: 0.7572 MB / 0.8074 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001541/0.694, allocations: 49.58 kB / 0.8075 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.6941, allocations: 68.28 kB / 0.8075 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.6941, allocations: 1.094 kB / 0.8076 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.7186, allocations: 6.973 MB / 0.8144 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.572, allocations: 5.469 kB / 0.8144 GB, free: 1.457 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)