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: translateModel(BuildSysPro.IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009119/0.0009119, allocations: 99.55 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.0009397/0.0009398, 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.309/1.309, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.018/1.018, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002968, allocations: 8 kB / 0.5158 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 83.41 MB / 0.5973 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.3884/0.5321, allocations: 114.9 MB / 0.7094 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02652/0.5587, allocations: 19.71 MB / 0.7287 GB, free: 2.145 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/0.5591, allocations: 3.938 kB / 0.7287 GB, free: 2.141 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.5594, allocations: 42.5 kB / 0.7287 GB, free: 2.117 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.5598, allocations: 86.77 kB / 0.7288 GB, free: 2.055 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01813/0.5779, allocations: 5.114 MB / 0.7338 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.5783, allocations: 163.4 kB / 0.7339 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.811e-05/0.5783, allocations: 16.36 kB / 0.734 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.5786, allocations: 128 kB / 0.7341 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.5788, allocations: 72.55 kB / 0.7342 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.5788, allocations: 7.625 kB / 0.7342 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0209/0.5997, allocations: 10.69 MB / 0.7446 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.234e-05/0.5998, allocations: 31.91 kB / 0.7446 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.799e-05/0.5999, allocations: 53.64 kB / 0.7447 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007791/0.6077, allocations: 4.085 MB / 0.7487 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.6077, allocations: 0 / 0.7487 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6078, allocations: 4 kB / 0.7487 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.6078, allocations: 0 / 0.7487 GB, free: 1.098 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.002793/0.6106, allocations: 1.154 MB / 0.7498 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.6106, allocations: 8.031 kB / 0.7498 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.6117, allocations: 85.62 kB / 0.7499 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.612, allocations: 234.8 kB / 0.7501 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.612, allocations: 15.53 kB / 0.7501 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.612, allocations: 12 kB / 0.7501 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.6131, allocations: 452.7 kB / 0.7506 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.6131, allocations: 3.953 kB / 0.7506 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.6132, allocations: 8 kB / 0.7506 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.6132, allocations: 4 kB / 0.7506 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.6143, allocations: 0.597 MB / 0.7512 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.6154, allocations: 0.9043 MB / 0.7521 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007438/0.6161, allocations: 247.1 kB / 0.7523 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08514/0.7013, allocations: 35.37 MB / 0.7868 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.7014, allocations: 34.56 kB / 0.7869 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.7014, allocations: 0 / 0.7869 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.001661/0.703, allocations: 419.4 kB / 0.7873 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.7031, allocations: 55.41 kB / 0.7873 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.7032, allocations: 139.5 kB / 0.7875 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.7033, allocations: 33.7 kB / 0.7875 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.7033, allocations: 104.4 kB / 0.7876 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.7034, allocations: 82.75 kB / 0.7877 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.7034, allocations: 8 kB / 0.7877 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.7035, allocations: 322.8 kB / 0.788 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.7037, allocations: 83.89 kB / 0.7881 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.7039, allocations: 130.6 kB / 0.7882 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.7041, allocations: 85.52 kB / 0.7883 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.7041, allocations: 3.953 kB / 0.7883 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006683/0.7048, allocations: 300.2 kB / 0.7886 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.7048, allocations: 4 kB / 0.7886 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.7048, allocations: 9.328 kB / 0.7886 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7048, allocations: 0 / 0.7886 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.7051, allocations: 83.88 kB / 0.7886 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.7052, allocations: 3.938 kB / 0.7887 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.7053, allocations: 24.25 kB / 0.7887 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.7054, allocations: 20.14 kB / 0.7887 GB, free: 4.785 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.000134/0.7055, allocations: 139.3 kB / 0.7888 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.7057, allocations: 15.86 kB / 0.7888 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.708, allocations: 2.351 MB / 0.7911 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.708, allocations: 15.98 kB / 0.7912 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.708, allocations: 4.797 kB / 0.7912 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.708, allocations: 0 / 0.7912 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/0.7111, allocations: 3.424 MB / 0.7945 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7111, allocations: 11.92 kB / 0.7945 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.7113, allocations: 51.95 kB / 0.7946 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7114, allocations: 0 / 0.7946 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.7114, allocations: 11.69 kB / 0.7946 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.7114, allocations: 3.984 kB / 0.7946 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7114, allocations: 0 / 0.7946 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000723/0.7121, allocations: 0.5459 MB / 0.7951 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.7123, allocations: 152.5 kB / 0.7953 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.7123, allocations: 8 kB / 0.7953 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.7126, allocations: 19.98 kB / 0.7953 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.7126, allocations: 15.97 kB / 0.7953 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.7126, allocations: 12 kB / 0.7953 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.873e-05/0.7127, allocations: 108.3 kB / 0.7954 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7127, allocations: 0 / 0.7954 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003921/0.7166, allocations: 1.62 MB / 0.797 GB, free: 12.12 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.007452/0.7241, allocations: 1.897 MB / 0.7988 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005506/0.7247, allocations: 325.5 kB / 0.7992 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7247, allocations: 0 / 0.7992 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.725, allocations: 244.5 kB / 0.7994 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.7254, allocations: 66.89 kB / 0.7995 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.7265, allocations: 0.785 MB / 0.8002 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.7268, allocations: 0.7819 MB / 0.801 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005552/0.7273, allocations: 410.2 kB / 0.8014 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.7275, allocations: 43.42 kB / 0.8014 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of SimCode: time 1.362e-06/0.7275, allocations: 0 / 0.8014 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of Templates: time 0.3149/1.042, allocations: 57.96 MB / 0.858 GB, free: 209.4 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.makefile Environment - environmentSimulation: (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe 2>&1) Environment - environmentSimulation: