Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",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.001607/0.001607, allocations: 97.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003278/0.003278, allocations: 179.7 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.768/2.768, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.252/1.252, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008115/0.0008121, allocations: 13.62 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2615, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02321/0.2848, allocations: 11.16 MB / 0.5676 GB, free: 492 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004504/0.2894, allocations: 2.132 MB / 0.5697 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.2896, allocations: 0 / 0.5697 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.29, allocations: 39.8 kB / 0.5697 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003983/0.2905, allocations: 71.83 kB / 0.5698 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.2927, allocations: 446.3 kB / 0.5702 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.2931, allocations: 148.7 kB / 0.5704 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.2932, allocations: 13.5 kB / 0.5704 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01612/0.3093, allocations: 4.293 MB / 0.5746 GB, free: 9.352 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.3097, allocations: 79.67 kB / 0.5747 GB, free: 9.273 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.3097, allocations: 8 kB / 0.5747 GB, free: 9.266 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004945/0.3147, allocations: 1.016 MB / 0.5757 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.3149, allocations: 31.91 kB / 0.5757 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.315, allocations: 57.62 kB / 0.5757 GB, free: 8.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009275/0.316, allocations: 219.5 kB / 0.576 GB, free: 7.949 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.316, allocations: 0 / 0.576 GB, free: 7.949 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.316, allocations: 0 / 0.576 GB, free: 7.949 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.316, allocations: 0 / 0.576 GB, free: 7.949 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001243/0.3173, allocations: 479 kB / 0.5764 GB, free: 7.434 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.43e-05/0.3174, allocations: 12.03 kB / 0.5764 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/0.3175, allocations: 50.55 kB / 0.5765 GB, free: 7.363 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/0.3179, allocations: 23.81 kB / 0.5765 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.3183, allocations: 222.7 kB / 0.5767 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.3183, allocations: 8.328 kB / 0.5767 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.3184, allocations: 16 kB / 0.5767 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006906/0.3191, allocations: 240.8 kB / 0.577 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.3191, allocations: 0 / 0.577 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.3192, allocations: 11.98 kB / 0.577 GB, free: 6.793 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/0.3193, allocations: 7.938 kB / 0.577 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009317/0.3202, allocations: 427.3 kB / 0.5774 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.3224, allocations: 1.007 MB / 0.5784 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.323, allocations: 159.7 kB / 0.5785 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002591/0.3256, allocations: 1.852 MB / 0.5803 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.3257, allocations: 42.5 kB / 0.5804 GB, free: 2.844 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 4.017e-06/0.3257, allocations: 3.938 kB / 0.5804 GB, free: 2.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006285/0.3263, allocations: 135 kB / 0.5805 GB, free: 2.703 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.3264, allocations: 63.36 kB / 0.5806 GB, free: 2.629 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.3267, allocations: 173.5 kB / 0.5807 GB, free: 2.449 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.3268, allocations: 29.7 kB / 0.5808 GB, free: 2.414 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.327, allocations: 135.8 kB / 0.5809 GB, free: 2.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.21e-05/0.3271, allocations: 59.27 kB / 0.5809 GB, free: 2.219 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.3271, allocations: 4 kB / 0.5809 GB, free: 2.215 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.3273, allocations: 326.8 kB / 0.5813 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.3275, allocations: 31.92 kB / 0.5813 GB, free: 1.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.3277, allocations: 145.7 kB / 0.5814 GB, free: 1.664 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.328, allocations: 57.75 kB / 0.5815 GB, free: 1.609 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.328, allocations: 8 kB / 0.5815 GB, free: 1.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005696/0.3286, allocations: 201.1 kB / 0.5817 GB, free: 1.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.3286, allocations: 6.344 kB / 0.5817 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.3286, allocations: 4.469 kB / 0.5817 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.3287, allocations: 12 kB / 0.5817 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.3291, allocations: 55.91 kB / 0.5818 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-05/0.3291, allocations: 19.81 kB / 0.5818 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.3294, allocations: 31.69 kB / 0.5818 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.3295, allocations: 12 kB / 0.5818 GB, free: 1.262 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.3297, allocations: 129.7 kB / 0.5819 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/0.3298, allocations: 19.81 kB / 0.582 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005685/0.3304, allocations: 153.9 kB / 0.5821 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.252e-05/0.3304, allocations: 11.97 kB / 0.5821 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.3304, allocations: 0 / 0.5821 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.3305, allocations: 7.891 kB / 0.5821 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.3309, allocations: 213.6 kB / 0.5823 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3309, allocations: 0 / 0.5823 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.3311, allocations: 27.98 kB / 0.5824 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3311, allocations: 0 / 0.5824 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.3312, allocations: 8 kB / 0.5824 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3312, allocations: 3.938 kB / 0.5824 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3312, allocations: 4 kB / 0.5824 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.3317, allocations: 228.6 kB / 0.5826 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.3319, allocations: 124.8 kB / 0.5827 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.3319, allocations: 4 kB / 0.5827 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.3323, allocations: 19.98 kB / 0.5827 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.3324, allocations: 11.98 kB / 0.5827 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.3324, allocations: 11.98 kB / 0.5828 GB, free: 220 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.3326, allocations: 121.8 kB / 0.5829 GB, free: 100 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3326, allocations: 0 / 0.5829 GB, free: 100 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008192/0.3334, allocations: 79.98 kB / 0.5829 GB, free: 20 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4729/0.8064, allocations: 0.8123 MB / 0.5837 GB, free: 34.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005028/0.8069, allocations: 124.8 kB / 0.5839 GB, free: 34.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.8069, allocations: 0.6562 kB / 0.5839 GB, free: 34.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.8071, allocations: 46.94 kB / 0.5839 GB, free: 34.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007358/0.8078, allocations: 47.84 kB / 0.584 GB, free: 34.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.811, allocations: 3.274 MB / 0.5871 GB, free: 31.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.8112, allocations: 0.7153 MB / 0.5878 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002512/0.8115, allocations: 52.8 kB / 0.5879 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/0.8116, allocations: 46.97 kB / 0.5879 GB, free: 30.75 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.8116, allocations: 0.7188 kB / 0.5879 GB, free: 30.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.8463, allocations: 4.965 MB / 0.5928 GB, free: 30.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.8466, allocations: 181.6 kB / 0.593 GB, free: 30.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/3.758, allocations: 0.7812 kB / 0.593 GB, free: 30.07 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) Environment - environmentSimulation: