Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",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.0007161/0.0007161, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004064/0.004064, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001656/0.001656, allocations: 278.7 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8868/0.8868, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0003999, allocations: 17.58 kB / 0.5988 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.409/0.5464, allocations: 132.3 MB / 0.8144 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.5703, allocations: 24.26 MB / 0.8381 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.5705, allocations: 2.938 kB / 0.8381 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.5708, allocations: 41.12 kB / 0.8381 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.5711, allocations: 79.25 kB / 0.8382 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01436/0.5855, allocations: 5.294 MB / 0.8434 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.5858, allocations: 306.9 kB / 0.8437 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.5859, allocations: 10 kB / 0.8437 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.5862, allocations: 134.6 kB / 0.8438 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.5863, allocations: 94.06 kB / 0.8439 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.5863, allocations: 5.281 kB / 0.8439 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01778/0.6041, allocations: 10.85 MB / 0.8545 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.6043, allocations: 34.42 kB / 0.8545 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.6044, allocations: 108.1 kB / 0.8546 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.6177, allocations: 6.16 MB / 0.8606 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6177, allocations: 0 / 0.8606 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6177, allocations: 3.312 kB / 0.8606 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.6177, allocations: 4 kB / 0.8606 GB, free: 11.14 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.002984/0.6207, allocations: 1.147 MB / 0.8618 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.6208, allocations: 8.719 kB / 0.8618 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.6208, allocations: 55.45 kB / 0.8618 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.6218, allocations: 87.28 kB / 0.8619 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.622, allocations: 230.1 kB / 0.8621 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.6221, allocations: 23.91 kB / 0.8622 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.6221, allocations: 12.41 kB / 0.8622 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.6231, allocations: 450.9 kB / 0.8626 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.6231, allocations: 4 kB / 0.8626 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.6232, allocations: 4 kB / 0.8626 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.6232, allocations: 6.25 kB / 0.8626 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.6243, allocations: 0.6053 MB / 0.8632 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009121/0.6252, allocations: 0.8783 MB / 0.8641 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.626, allocations: 258.3 kB / 0.8643 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.6261, allocations: 76.83 kB / 0.8644 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08159/0.7077, allocations: 35.33 MB / 0.8989 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.7077, allocations: 34.56 kB / 0.8989 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 2.935e-06/0.7078, allocations: 4 kB / 0.8989 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.001577/0.7093, allocations: 426.1 kB / 0.8993 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.7094, allocations: 55.41 kB / 0.8994 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.7095, allocations: 139.8 kB / 0.8995 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.7095, allocations: 33.7 kB / 0.8995 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.7096, allocations: 108.4 kB / 0.8996 GB, free: 420 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.7097, allocations: 82.75 kB / 0.8997 GB, free: 336 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.7097, allocations: 25.7 kB / 0.8997 GB, free: 304 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7099, allocations: 334.8 kB / 0.9001 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.71, allocations: 83.95 kB / 0.9001 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.7102, allocations: 126.3 kB / 0.9003 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.7106, allocations: 217 kB / 0.9005 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.7106, allocations: 0 / 0.9005 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006464/0.7113, allocations: 300.5 kB / 0.9008 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.7113, allocations: 8 kB / 0.9008 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7113, allocations: 3.938 kB / 0.9008 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.7113, allocations: 4.156 kB / 0.9008 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.7116, allocations: 79.94 kB / 0.9009 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.7116, allocations: 11.92 kB / 0.9009 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.7118, allocations: 19.78 kB / 0.9009 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.7119, allocations: 27.98 kB / 0.9009 GB, free: 15.06 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * 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.0001204/0.712, allocations: 122.4 kB / 0.901 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.7121, allocations: 19.81 kB / 0.901 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.7143, allocations: 2.346 MB / 0.9033 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.7143, allocations: 11.98 kB / 0.9033 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7143, allocations: 4 kB / 0.9034 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.7143, allocations: 7.922 kB / 0.9034 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.7173, allocations: 3.427 MB / 0.9067 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.7173, allocations: 0 / 0.9067 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.7175, allocations: 63.39 kB / 0.9068 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.7175, allocations: 0 / 0.9068 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.7176, allocations: 15.92 kB / 0.9068 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.7176, allocations: 4 kB / 0.9068 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7176, allocations: 0 / 0.9068 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006962/0.7183, allocations: 0.5418 MB / 0.9073 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.7184, allocations: 136.6 kB / 0.9074 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.7184, allocations: 15.88 kB / 0.9075 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.7187, allocations: 15.98 kB / 0.9075 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.7187, allocations: 19.98 kB / 0.9075 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.7187, allocations: 19.98 kB / 0.9075 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.304e-05/0.7188, allocations: 105.9 kB / 0.9076 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7188, allocations: 0 / 0.9076 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00393/0.7228, allocations: 1.628 MB / 0.9092 GB, free: 6.402 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.007951/0.7307, allocations: 2.876 MB / 0.912 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005166/0.7312, allocations: 326 kB / 0.9123 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7313, allocations: 320 / 0.9123 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.7315, allocations: 244.5 kB / 0.9126 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.732, allocations: 68.44 kB / 0.9126 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.7364, allocations: 3.208 MB / 0.9158 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.7367, allocations: 0.7622 MB / 0.9165 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004949/0.7372, allocations: 405.2 kB / 0.9169 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.7374, allocations: 99.38 kB / 0.917 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.7374, allocations: 0 / 0.917 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08061/0.818, allocations: 60.56 MB / 0.9761 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.8182, allocations: 201.2 kB / 0.9763 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.947/5.765, allocations: 0 / 0.9763 GB, free: 1.543 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)