Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_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.0008844/0.0008844, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005366/0.005366, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6819/0.6819, allocations: 132.3 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004337, allocations: 8 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3471, allocations: 81.57 MB / 0.5837 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1275/0.4747, allocations: 132.3 MB / 0.7129 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02418/0.4989, allocations: 24.26 MB / 0.7366 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.4991, allocations: 0 / 0.7366 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.4993, allocations: 31.8 kB / 0.7367 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.4996, allocations: 87.42 kB / 0.7367 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01198/0.5116, allocations: 5.288 MB / 0.7419 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000349/0.5119, allocations: 307.8 kB / 0.7422 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.512, allocations: 13.53 kB / 0.7422 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.5122, allocations: 143.5 kB / 0.7423 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.5124, allocations: 91.66 kB / 0.7424 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.5124, allocations: 4 kB / 0.7424 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01754/0.5299, allocations: 10.85 MB / 0.753 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.5301, allocations: 35.89 kB / 0.7531 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.5302, allocations: 109.3 kB / 0.7532 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.5441, allocations: 6.16 MB / 0.7592 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5442, allocations: 0 / 0.7592 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5442, allocations: 0 / 0.7592 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5442, allocations: 0 / 0.7592 GB, free: 12.07 MB / 0.5919 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.003368/0.5476, allocations: 1.15 MB / 0.7603 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5476, allocations: 12.03 kB / 0.7603 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.985e-05/0.5477, allocations: 46.73 kB / 0.7604 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.5488, allocations: 88.67 kB / 0.7604 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.549, allocations: 232 kB / 0.7607 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.5491, allocations: 11.94 kB / 0.7607 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.5491, allocations: 16 kB / 0.7607 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.5502, allocations: 452.5 kB / 0.7611 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5503, allocations: 4 kB / 0.7611 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.5503, allocations: 4 kB / 0.7611 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.5503, allocations: 8 kB / 0.7611 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.5515, allocations: 0.6008 MB / 0.7617 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009823/0.5525, allocations: 0.8783 MB / 0.7626 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007529/0.5532, allocations: 252.6 kB / 0.7628 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.5534, allocations: 76.83 kB / 0.7629 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08155/0.6349, allocations: 35.34 MB / 0.7974 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.635, allocations: 30.56 kB / 0.7974 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.804e-06/0.635, allocations: 0 / 0.7974 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001535/0.6365, allocations: 422.8 kB / 0.7978 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.6366, allocations: 59.39 kB / 0.7979 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.6367, allocations: 139.8 kB / 0.798 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.6367, allocations: 33.7 kB / 0.7981 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.6368, allocations: 116.3 kB / 0.7982 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.6369, allocations: 78.77 kB / 0.7983 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.6369, allocations: 29.7 kB / 0.7983 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.637, allocations: 326.8 kB / 0.7986 GB, free: 352 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.6372, allocations: 87.88 kB / 0.7987 GB, free: 264 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.6374, allocations: 130.6 kB / 0.7988 GB, free: 116 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.6378, allocations: 220.3 kB / 0.799 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6378, allocations: 0 / 0.799 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006218/0.6384, allocations: 301.2 kB / 0.7993 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6385, allocations: 8 kB / 0.7993 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6385, allocations: 0 / 0.7993 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.6385, allocations: 4 kB / 0.7993 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.6388, allocations: 83.88 kB / 0.7994 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.6388, allocations: 4 kB / 0.7994 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.6389, allocations: 19.78 kB / 0.7994 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.639, allocations: 27.97 kB / 0.7994 GB, free: 15.44 MB / 0.6387 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.0001224/0.6391, allocations: 125.9 kB / 0.7996 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.6393, allocations: 19.81 kB / 0.7996 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.6414, allocations: 2.35 MB / 0.8019 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.6415, allocations: 7.984 kB / 0.8019 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6415, allocations: 0 / 0.8019 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.6415, allocations: 3.938 kB / 0.8019 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.6444, allocations: 3.423 MB / 0.8052 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.6444, allocations: 7.875 kB / 0.8052 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.6447, allocations: 59.94 kB / 0.8053 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.6447, allocations: 3.938 kB / 0.8053 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.6447, allocations: 8 kB / 0.8053 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.6447, allocations: 4 kB / 0.8053 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6447, allocations: 0 / 0.8053 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/0.6454, allocations: 0.5418 MB / 0.8058 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.6455, allocations: 144.5 kB / 0.806 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.6455, allocations: 11.92 kB / 0.806 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.6458, allocations: 16 kB / 0.806 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.6458, allocations: 23.97 kB / 0.806 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.6458, allocations: 12 kB / 0.806 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.951e-05/0.6459, allocations: 109.8 kB / 0.8061 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6459, allocations: 0 / 0.8061 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003572/0.6495, allocations: 1.628 MB / 0.8077 GB, free: 6.789 MB / 0.6387 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.007782/0.6573, allocations: 2.882 MB / 0.8105 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00047/0.6578, allocations: 325.4 kB / 0.8109 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6578, allocations: 0 / 0.8109 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.658, allocations: 237.5 kB / 0.8111 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.6585, allocations: 70.38 kB / 0.8111 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2494/0.9079, allocations: 3.192 MB / 0.8143 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.9082, allocations: 0.7648 MB / 0.815 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007834/0.909, allocations: 409.3 kB / 0.8154 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.9092, allocations: 97.48 kB / 0.8155 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of SimCode: time 9.22e-07/0.9092, allocations: 0 / 0.8155 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2603/1.17, allocations: 60.51 MB / 0.8746 GB, free: 171.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/1.17, allocations: 172.6 kB / 0.8747 GB, free: 171.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.578/6.748, allocations: 0 / 0.8747 GB, free: 171.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)