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.0061/0.0061, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001207/0.001207, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7245/0.7245, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.00122, allocations: 62.34 kB / 0.5809 GB, free: 1.289 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1585, allocations: 80.21 MB / 0.6592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1381/0.2966, allocations: 136.1 MB / 0.7922 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.4304/0.7271, allocations: 22.32 MB / 0.8139 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.7273, allocations: 1.125 kB / 0.8139 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.7276, allocations: 51.09 kB / 0.814 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.7279, allocations: 96.31 kB / 0.8141 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01803/0.746, allocations: 6.696 MB / 0.8206 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005105/0.7465, allocations: 247.1 kB / 0.8209 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.491e-05/0.7466, allocations: 11.33 kB / 0.8209 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003901/0.747, allocations: 149 kB / 0.821 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.7471, allocations: 92.44 kB / 0.8211 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.7472, allocations: 8.688 kB / 0.8211 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02153/0.7687, allocations: 10.96 MB / 0.8318 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.7689, allocations: 43.66 kB / 0.8319 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.7691, allocations: 82.55 kB / 0.8319 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02174/0.7908, allocations: 6.145 MB / 0.8379 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.7909, allocations: 4.125 kB / 0.8379 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.926e-06/0.7909, allocations: 0 / 0.8379 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.7909, allocations: 0 / 0.8379 GB, free: 2.832 MB / 0.6387 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.004562/0.7955, allocations: 1.19 MB / 0.8391 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.7955, allocations: 11.33 kB / 0.8391 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.353e-05/0.7956, allocations: 53.2 kB / 0.8392 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.7968, allocations: 84.55 kB / 0.8392 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.797, allocations: 224.4 kB / 0.8395 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.7971, allocations: 11.91 kB / 0.8395 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.7971, allocations: 17.81 kB / 0.8395 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009769/0.7981, allocations: 453.7 kB / 0.8399 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.7981, allocations: 2.75 kB / 0.8399 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.7981, allocations: 9.938 kB / 0.8399 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.7981, allocations: 3.094 kB / 0.8399 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.7992, allocations: 0.5956 MB / 0.8405 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.8, allocations: 0.8818 MB / 0.8414 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.8008, allocations: 255.5 kB / 0.8416 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.815e-05/0.8009, allocations: 69.62 kB / 0.8417 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08171/0.8826, allocations: 35.42 MB / 0.8763 GB, free: 11.58 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.8827, allocations: 37.25 kB / 0.8763 GB, free: 11.54 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 2.304e-06/0.8827, allocations: 0 / 0.8763 GB, free: 11.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=25): time 0.001809/0.8845, allocations: 422.3 kB / 0.8767 GB, free: 11.41 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.8846, allocations: 54.03 kB / 0.8768 GB, free: 11.35 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.8847, allocations: 142.2 kB / 0.8769 GB, free: 11.24 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.8848, allocations: 35.72 kB / 0.8769 GB, free: 11.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.8848, allocations: 108.7 kB / 0.877 GB, free: 11.11 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.8849, allocations: 81.84 kB / 0.8771 GB, free: 11.04 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.885, allocations: 77.28 kB / 0.8772 GB, free: 11.01 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8852, allocations: 329.5 kB / 0.8775 GB, free: 10.69 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.8853, allocations: 81.97 kB / 0.8776 GB, free: 10.68 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.8856, allocations: 138.3 kB / 0.8777 GB, free: 10.61 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.886, allocations: 216.7 kB / 0.8779 GB, free: 10.55 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.886, allocations: 0 / 0.8779 GB, free: 10.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006943/0.8867, allocations: 297.6 kB / 0.8782 GB, free: 10.47 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.8867, allocations: 6.906 kB / 0.8782 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.8867, allocations: 3.984 kB / 0.8782 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.8867, allocations: 3.938 kB / 0.8782 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.8871, allocations: 80.78 kB / 0.8783 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.8871, allocations: 2.969 kB / 0.8783 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.8872, allocations: 25.94 kB / 0.8783 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.8873, allocations: 30.47 kB / 0.8784 GB, free: 10.43 MB / 0.67 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.0001479/0.8875, allocations: 127.3 kB / 0.8785 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.8876, allocations: 23.3 kB / 0.8785 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.8899, allocations: 2.333 MB / 0.8808 GB, free: 9.598 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.8899, allocations: 11.61 kB / 0.8808 GB, free: 9.59 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.8899, allocations: 3.984 kB / 0.8808 GB, free: 9.586 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.8899, allocations: 4 kB / 0.8808 GB, free: 9.582 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/0.8929, allocations: 3.433 MB / 0.8842 GB, free: 7.324 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.8929, allocations: 2.938 kB / 0.8842 GB, free: 7.324 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.8931, allocations: 65.7 kB / 0.8842 GB, free: 7.273 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.8932, allocations: 1.203 kB / 0.8842 GB, free: 7.273 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.8932, allocations: 15.3 kB / 0.8842 GB, free: 7.262 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.8932, allocations: 0 / 0.8842 GB, free: 7.262 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.8932, allocations: 0 / 0.8842 GB, free: 7.262 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.8939, allocations: 0.5396 MB / 0.8848 GB, free: 6.859 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.8941, allocations: 142.9 kB / 0.8849 GB, free: 6.711 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.8941, allocations: 7.562 kB / 0.8849 GB, free: 6.707 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.8944, allocations: 22.08 kB / 0.8849 GB, free: 6.691 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.8944, allocations: 11.98 kB / 0.8849 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.8944, allocations: 15.61 kB / 0.885 GB, free: 6.668 MB / 0.67 GB Notification: Performance of sorting global known variables: time 7.412e-05/0.8945, allocations: 108.4 kB / 0.8851 GB, free: 6.574 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8945, allocations: 1.203 kB / 0.8851 GB, free: 6.574 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004907/0.8994, allocations: 1.626 MB / 0.8866 GB, free: 5.016 MB / 0.67 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.01008/0.9095, allocations: 2.879 MB / 0.8895 GB, free: 2.473 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006973/0.9103, allocations: 332.4 kB / 0.8898 GB, free: 2.25 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.9103, allocations: 0 / 0.8898 GB, free: 2.25 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.9106, allocations: 241.2 kB / 0.89 GB, free: 2.125 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.9112, allocations: 65.89 kB / 0.8901 GB, free: 2.078 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006801/0.918, allocations: 3.035 MB / 0.893 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.9184, allocations: 0.7661 MB / 0.8938 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005311/0.9189, allocations: 402.6 kB / 0.8942 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.9191, allocations: 103.4 kB / 0.8943 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of SimCode: time 6.41e-07/0.9191, allocations: 1.094 kB / 0.8943 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/1.021, allocations: 60.77 MB / 0.9536 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.42, allocations: 7.75 kB / 0.9536 GB, free: 1.434 MB / 0.7325 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)