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.001027/0.001027, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001133/0.001133, allocations: 197 kB / 16.14 MB, free: 6.66 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.208/1.208, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001862/0.001862, allocations: 275 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8986/0.8986, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 94.66 kB / 0.5946 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1348, allocations: 86.98 MB / 0.6795 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3932/0.528, allocations: 134 MB / 0.8104 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02142/0.5494, allocations: 24.64 MB / 0.8345 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.5496, allocations: 2.062 kB / 0.8345 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.5498, allocations: 38.66 kB / 0.8345 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.5501, allocations: 87.56 kB / 0.8346 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01316/0.5633, allocations: 5.29 MB / 0.8398 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.5636, allocations: 309.6 kB / 0.8401 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.5636, allocations: 13.8 kB / 0.8401 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.5639, allocations: 125.8 kB / 0.8402 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.564, allocations: 93.7 kB / 0.8403 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.5641, allocations: 6.875 kB / 0.8403 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/0.5802, allocations: 10.85 MB / 0.8509 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.5803, allocations: 32.41 kB / 0.8509 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.5804, allocations: 83.62 kB / 0.851 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00885/0.5893, allocations: 6.192 MB / 0.857 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.5893, allocations: 0 / 0.857 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.12e-07/0.5893, allocations: 0 / 0.857 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.5893, allocations: 6.469 kB / 0.8571 GB, free: 3.57 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.002131/0.5915, allocations: 1.183 MB / 0.8582 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.5915, allocations: 9.406 kB / 0.8582 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.5915, allocations: 55.11 kB / 0.8583 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009592/0.5925, allocations: 83.88 kB / 0.8584 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.5927, allocations: 226.7 kB / 0.8586 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.5927, allocations: 20.81 kB / 0.8586 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.5927, allocations: 14.31 kB / 0.8586 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.5938, allocations: 458 kB / 0.859 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.5938, allocations: 3.938 kB / 0.859 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.5938, allocations: 10.03 kB / 0.8591 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.5938, allocations: 5.25 kB / 0.8591 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.5949, allocations: 0.5975 MB / 0.8596 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008558/0.5958, allocations: 0.8799 MB / 0.8605 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007585/0.5966, allocations: 246.9 kB / 0.8607 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.5967, allocations: 72.95 kB / 0.8608 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07254/0.6692, allocations: 35.04 MB / 0.895 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.6693, allocations: 38.56 kB / 0.8951 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.6693, allocations: 0 / 0.8951 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001584/0.6709, allocations: 420.8 kB / 0.8955 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.6709, allocations: 55.39 kB / 0.8955 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.671, allocations: 140.2 kB / 0.8957 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.671, allocations: 33.64 kB / 0.8957 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.6711, allocations: 111.5 kB / 0.8958 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-05/0.6712, allocations: 86.77 kB / 0.8959 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.6713, allocations: 81.66 kB / 0.896 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.513e-05/0.6714, allocations: 330.8 kB / 0.8963 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.6716, allocations: 79.89 kB / 0.8963 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.6718, allocations: 134.8 kB / 0.8965 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.6721, allocations: 216.3 kB / 0.8967 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6722, allocations: 0 / 0.8967 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006536/0.6728, allocations: 305.4 kB / 0.897 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.6728, allocations: 4 kB / 0.897 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.6728, allocations: 0 / 0.897 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.6729, allocations: 4 kB / 0.897 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.6731, allocations: 79.88 kB / 0.8971 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6732, allocations: 4 kB / 0.8971 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.6733, allocations: 26.06 kB / 0.8971 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.6734, allocations: 27.97 kB / 0.8971 GB, free: 12.32 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.0001106/0.6735, allocations: 130.4 kB / 0.8972 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.6736, allocations: 19.84 kB / 0.8973 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.6757, allocations: 2.354 MB / 0.8995 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.6757, allocations: 11.98 kB / 0.8996 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6757, allocations: 0 / 0.8996 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6757, allocations: 3.938 kB / 0.8996 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.6784, allocations: 3.43 MB / 0.9029 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6784, allocations: 0 / 0.9029 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.6787, allocations: 51.94 kB / 0.903 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.6787, allocations: 8 kB / 0.903 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/0.6787, allocations: 7.938 kB / 0.903 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.6787, allocations: 7.938 kB / 0.903 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6787, allocations: 0 / 0.903 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006607/0.6794, allocations: 0.5457 MB / 0.9035 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.6795, allocations: 140.5 kB / 0.9037 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.6795, allocations: 7.938 kB / 0.9037 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.6798, allocations: 19.98 kB / 0.9037 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.6798, allocations: 15.97 kB / 0.9037 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.6798, allocations: 18.81 kB / 0.9037 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.6799, allocations: 107.2 kB / 0.9038 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6799, allocations: 0 / 0.9038 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003461/0.6834, allocations: 1.624 MB / 0.9054 GB, free: 3.672 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.006532/0.6899, allocations: 2.886 MB / 0.9082 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000491/0.6904, allocations: 330 kB / 0.9085 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6904, allocations: 0 / 0.9085 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.6907, allocations: 240.5 kB / 0.9088 GB, free: 352 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.6911, allocations: 66.39 kB / 0.9088 GB, free: 288 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.695, allocations: 3.167 MB / 0.9119 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.6953, allocations: 0.7738 MB / 0.9127 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004675/0.6957, allocations: 405 kB / 0.9131 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.6959, allocations: 95.39 kB / 0.9132 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.6959, allocations: 0 / 0.9132 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6248/1.321, allocations: 60.66 MB / 0.9724 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/1.321, allocations: 197.8 kB / 0.9726 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.032/6.353, allocations: 0 / 0.9726 GB, free: 14.86 MB / 0.7012 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)