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.007601/0.007601, allocations: 101.3 kB / 15.73 MB, free: 6.469 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.001388/0.001388, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002154/0.002154, allocations: 283.2 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9273/0.9273, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 94.48 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1504, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.4709/0.6214, allocations: 136.1 MB / 0.8989 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02497/0.6464, allocations: 22.32 MB / 0.9207 GB, free: 4.668 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.6466, allocations: 0 / 0.9207 GB, free: 4.668 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.6469, allocations: 55.66 kB / 0.9207 GB, free: 4.613 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.6473, allocations: 91.31 kB / 0.9208 GB, free: 4.523 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01747/0.6647, allocations: 6.676 MB / 0.9273 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.6652, allocations: 255.9 kB / 0.9276 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 6.197e-05/0.6653, allocations: 9.562 kB / 0.9276 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.6656, allocations: 143.4 kB / 0.9277 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.6658, allocations: 91.66 kB / 0.9278 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.6659, allocations: 8 kB / 0.9278 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0182/0.6841, allocations: 10.97 MB / 0.9385 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.6842, allocations: 39.89 kB / 0.9386 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.6843, allocations: 75.61 kB / 0.9386 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.6967, allocations: 6.156 MB / 0.9446 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6968, allocations: 0 / 0.9446 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6968, allocations: 0 / 0.9446 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.6968, allocations: 0 / 0.9446 GB, free: 12.1 MB / 0.7012 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.002694/0.6995, allocations: 1.185 MB / 0.9458 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.6995, allocations: 12.03 kB / 0.9458 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.925e-05/0.6996, allocations: 54.73 kB / 0.9459 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.7006, allocations: 80.67 kB / 0.9459 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.7009, allocations: 232.1 kB / 0.9462 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.7009, allocations: 15.94 kB / 0.9462 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.7009, allocations: 16 kB / 0.9462 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.702, allocations: 457.7 kB / 0.9466 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.702, allocations: 0.5 kB / 0.9466 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.7021, allocations: 8 kB / 0.9466 GB, free: 9.945 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7021, allocations: 4 kB / 0.9466 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.7032, allocations: 0.5969 MB / 0.9472 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009682/0.7042, allocations: 0.8822 MB / 0.9481 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008529/0.7051, allocations: 252.5 kB / 0.9483 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.7052, allocations: 75.89 kB / 0.9484 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0823/0.7875, allocations: 35.42 MB / 0.983 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.7876, allocations: 45.19 kB / 0.983 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/0.7876, allocations: 7.938 kB / 0.983 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.001791/0.7894, allocations: 409.9 kB / 0.9834 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.7894, allocations: 59.39 kB / 0.9835 GB, free: 1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.7896, allocations: 140.1 kB / 0.9836 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.7896, allocations: 33.7 kB / 0.9837 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.7897, allocations: 104.4 kB / 0.9838 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.7898, allocations: 86.75 kB / 0.9838 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.7899, allocations: 81.66 kB / 0.9839 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.79, allocations: 326.8 kB / 0.9842 GB, free: 216 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.7902, allocations: 79.95 kB / 0.9843 GB, free: 136 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.7904, allocations: 133 kB / 0.9844 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.7908, allocations: 220.5 kB / 0.9846 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.7908, allocations: 0 / 0.9846 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006629/0.7915, allocations: 305.2 kB / 0.9849 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7915, allocations: 12.16 kB / 0.9849 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7915, allocations: 0 / 0.9849 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7915, allocations: 4 kB / 0.9849 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.7918, allocations: 79.88 kB / 0.985 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.7919, allocations: 4 kB / 0.985 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.792, allocations: 27.62 kB / 0.985 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.7921, allocations: 19.98 kB / 0.9851 GB, free: 15.3 MB / 0.7481 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.0001263/0.7922, allocations: 134.4 kB / 0.9852 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.7924, allocations: 15.91 kB / 0.9852 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.7946, allocations: 2.341 MB / 0.9875 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.7946, allocations: 15.98 kB / 0.9875 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.7947, allocations: 3.938 kB / 0.9875 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.7947, allocations: 3.938 kB / 0.9875 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.7976, allocations: 3.415 MB / 0.9909 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.7976, allocations: 0 / 0.9909 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.7979, allocations: 55.89 kB / 0.9909 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.7979, allocations: 3.984 kB / 0.9909 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.798, allocations: 16.5 kB / 0.9909 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.798, allocations: 0 / 0.9909 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.798, allocations: 0 / 0.9909 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007083/0.7987, allocations: 0.5504 MB / 0.9915 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.7988, allocations: 141.7 kB / 0.9916 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.7989, allocations: 7.938 kB / 0.9916 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.7991, allocations: 15.98 kB / 0.9916 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.7991, allocations: 19.97 kB / 0.9916 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.7991, allocations: 12 kB / 0.9917 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.381e-05/0.7992, allocations: 107.2 kB / 0.9918 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7992, allocations: 0 / 0.9918 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003595/0.8028, allocations: 1.628 MB / 0.9933 GB, free: 6.656 MB / 0.7481 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.008389/0.8112, allocations: 2.881 MB / 0.9962 GB, free: 3.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005791/0.8118, allocations: 320.6 kB / 0.9965 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8118, allocations: 8 kB / 0.9965 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.8121, allocations: 236.5 kB / 0.9967 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.8126, allocations: 69.73 kB / 0.9968 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006119/0.8188, allocations: 3.042 MB / 0.9997 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.8191, allocations: 0.7661 MB / 1 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005435/0.8197, allocations: 413.1 kB / 1.001 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.8199, allocations: 95.33 kB / 1.001 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of SimCode: time 6.92e-07/0.8199, allocations: 0 / 1.001 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09243/0.9123, allocations: 60.93 MB / 1.06 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.86, allocations: 12.2 kB / 1.06 GB, free: 1.801 MB / 0.8106 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)