Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Examples.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001245/0.001245, allocations: 99 kB / 15.05 MB, free: 1.105 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.001657/0.001658, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.107/1.107, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003646, allocations: 8 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.204, allocations: 83.41 MB / 0.5973 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.5195/0.7236, allocations: 114.8 MB / 0.7095 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02685/0.7505, allocations: 19.71 MB / 0.7287 GB, free: 1.785 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.7507, allocations: 6.75 kB / 0.7288 GB, free: 1.781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.751, allocations: 36.41 kB / 0.7288 GB, free: 1.762 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.7513, allocations: 78.59 kB / 0.7289 GB, free: 1.707 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02414/0.7755, allocations: 5.127 MB / 0.7339 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000502/0.776, allocations: 166.9 kB / 0.734 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.376e-05/0.7761, allocations: 15.97 kB / 0.734 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.7764, allocations: 118.5 kB / 0.7342 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.7766, allocations: 76.16 kB / 0.7342 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.7766, allocations: 6.875 kB / 0.7342 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02443/0.8011, allocations: 10.69 MB / 0.7447 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.8012, allocations: 35.89 kB / 0.7447 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.8013, allocations: 57.58 kB / 0.7448 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008669/0.81, allocations: 4.093 MB / 0.7488 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.81, allocations: 0 / 0.7488 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.016e-06/0.8101, allocations: 0 / 0.7488 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.8101, allocations: 0 / 0.7488 GB, free: 0.8398 MB / 0.5606 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.003146/0.8132, allocations: 1.154 MB / 0.7499 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.8133, allocations: 8.031 kB / 0.7499 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.8133, allocations: 51.11 kB / 0.7499 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.8144, allocations: 89.78 kB / 0.75 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.8146, allocations: 219.6 kB / 0.7502 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.8146, allocations: 19.53 kB / 0.7503 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.8147, allocations: 12 kB / 0.7503 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.8157, allocations: 452.7 kB / 0.7507 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.8157, allocations: 8.75 kB / 0.7507 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.8157, allocations: 8 kB / 0.7507 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.8158, allocations: 7.938 kB / 0.7507 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.8169, allocations: 0.5931 MB / 0.7513 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009846/0.8178, allocations: 0.9121 MB / 0.7522 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/0.8186, allocations: 246.9 kB / 0.7524 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08533/0.9039, allocations: 35.36 MB / 0.787 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.904, allocations: 34.56 kB / 0.787 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.904, allocations: 0 / 0.787 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.00164/0.9057, allocations: 415.3 kB / 0.7874 GB, free: 6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.9057, allocations: 55.41 kB / 0.7874 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.9059, allocations: 151.2 kB / 0.7876 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.9059, allocations: 25.7 kB / 0.7876 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.906, allocations: 108.4 kB / 0.7877 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.906, allocations: 86.75 kB / 0.7878 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.9061, allocations: 7.938 kB / 0.7878 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.9062, allocations: 322.8 kB / 0.7881 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.9064, allocations: 79.94 kB / 0.7882 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.9066, allocations: 130.6 kB / 0.7883 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.9067, allocations: 93.39 kB / 0.7884 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.9068, allocations: 4 kB / 0.7884 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006269/0.9074, allocations: 300.7 kB / 0.7887 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.9074, allocations: 8 kB / 0.7887 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.9074, allocations: 0 / 0.7887 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.9074, allocations: 4.562 kB / 0.7887 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.9077, allocations: 79.88 kB / 0.7888 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.9078, allocations: 4 kB / 0.7888 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.9079, allocations: 19.75 kB / 0.7888 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.908, allocations: 30.09 kB / 0.7888 GB, free: 4.465 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.9081, allocations: 135.6 kB / 0.789 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.9083, allocations: 15.91 kB / 0.789 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.9107, allocations: 2.353 MB / 0.7913 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.9108, allocations: 11.97 kB / 0.7913 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.9108, allocations: 0 / 0.7913 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.9108, allocations: 0 / 0.7913 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/0.9141, allocations: 3.432 MB / 0.7946 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.9141, allocations: 4 kB / 0.7946 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.9144, allocations: 59.89 kB / 0.7947 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.9144, allocations: 0 / 0.7947 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.9144, allocations: 11.98 kB / 0.7947 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.9144, allocations: 0 / 0.7947 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9144, allocations: 4 kB / 0.7947 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.9152, allocations: 0.5381 MB / 0.7952 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.9153, allocations: 152.5 kB / 0.7954 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.9153, allocations: 4 kB / 0.7954 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.9156, allocations: 20 kB / 0.7954 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.9156, allocations: 16.78 kB / 0.7954 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.9156, allocations: 15.98 kB / 0.7954 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.321e-05/0.9157, allocations: 104.5 kB / 0.7955 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.795e-06/0.9157, allocations: 0 / 0.7955 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00461/0.9203, allocations: 1.632 MB / 0.7971 GB, free: 11.8 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 (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.008349/0.9287, allocations: 2.889 MB / 0.7999 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006088/0.9293, allocations: 321.2 kB / 0.8003 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.9294, allocations: 4 kB / 0.8003 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.9296, allocations: 240.5 kB / 0.8005 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.9301, allocations: 62.28 kB / 0.8005 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.9345, allocations: 2.783 MB / 0.8033 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.9349, allocations: 0.7742 MB / 0.804 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005848/0.9355, allocations: 405 kB / 0.8044 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.9357, allocations: 99.39 kB / 0.8045 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.9357, allocations: 0 / 0.8045 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4065/1.342, allocations: 61.49 MB / 0.8646 GB, free: 170.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/1.342, allocations: 171.4 kB / 0.8647 GB, free: 169.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.705/7.047, allocations: 0 / 0.8647 GB, free: 169.8 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe 2>&1) Environment - environmentSimulation: