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.008587/0.008587, allocations: 95.91 kB / 15.73 MB, free: 6.047 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.001768/0.001768, allocations: 198.8 kB / 16.68 MB, free: 5.957 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8474/0.8474, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 68.58 kB / 0.5809 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1578, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5602/0.718, allocations: 136.1 MB / 0.7921 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02248/0.7405, allocations: 22.33 MB / 0.814 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.7408, allocations: 2.125 kB / 0.814 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.7411, allocations: 43.81 kB / 0.814 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.7414, allocations: 94.72 kB / 0.8141 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01885/0.7603, allocations: 6.679 MB / 0.8206 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.7607, allocations: 245.7 kB / 0.8208 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.7608, allocations: 13.22 kB / 0.8209 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000318/0.7611, allocations: 144.1 kB / 0.821 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.7612, allocations: 89.14 kB / 0.8211 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.7613, allocations: 10.41 kB / 0.8211 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02026/0.7815, allocations: 10.96 MB / 0.8318 GB, free: 432 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.7817, allocations: 42.58 kB / 0.8318 GB, free: 400 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.7818, allocations: 86.2 kB / 0.8319 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01553/0.7974, allocations: 6.149 MB / 0.8379 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.7974, allocations: 0 / 0.8379 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7974, allocations: 0 / 0.8379 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.7975, allocations: 2.719 kB / 0.8379 GB, free: 12.71 MB / 0.6075 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.003605/0.8011, allocations: 1.189 MB / 0.8391 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.8011, allocations: 7.625 kB / 0.8391 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.007e-05/0.8012, allocations: 50.23 kB / 0.8391 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.8024, allocations: 92.72 kB / 0.8392 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.8026, allocations: 228.2 kB / 0.8394 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.8027, allocations: 11.94 kB / 0.8395 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.8027, allocations: 16 kB / 0.8395 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.8039, allocations: 452.5 kB / 0.8399 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.8039, allocations: 4 kB / 0.8399 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.8039, allocations: 4 kB / 0.8399 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.804, allocations: 8 kB / 0.8399 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.8052, allocations: 0.597 MB / 0.8405 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.8063, allocations: 0.8754 MB / 0.8414 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008498/0.8072, allocations: 261.1 kB / 0.8416 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.8073, allocations: 76.83 kB / 0.8417 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08715/0.8945, allocations: 35.41 MB / 0.8763 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.8945, allocations: 38.56 kB / 0.8763 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.8945, allocations: 0 / 0.8763 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001828/0.8964, allocations: 425.3 kB / 0.8767 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.8964, allocations: 55.41 kB / 0.8768 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.8966, allocations: 137.8 kB / 0.8769 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.8966, allocations: 33.64 kB / 0.8769 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.8967, allocations: 108.4 kB / 0.877 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/0.8968, allocations: 89.88 kB / 0.8771 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.8969, allocations: 77.66 kB / 0.8772 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.897, allocations: 326.8 kB / 0.8775 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.8972, allocations: 83.95 kB / 0.8776 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.8975, allocations: 133.5 kB / 0.8777 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.8979, allocations: 221 kB / 0.8779 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.8979, allocations: 4 kB / 0.8779 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006951/0.8986, allocations: 298 kB / 0.8782 GB, free: 468 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.8986, allocations: 9.859 kB / 0.8782 GB, free: 460 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.8986, allocations: 4 kB / 0.8782 GB, free: 456 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8987, allocations: 3.938 kB / 0.8782 GB, free: 452 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.899, allocations: 80.03 kB / 0.8783 GB, free: 372 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.899, allocations: 11.81 kB / 0.8783 GB, free: 364 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.8992, allocations: 19.78 kB / 0.8783 GB, free: 344 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.8992, allocations: 27.98 kB / 0.8783 GB, free: 316 kB / 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.000128/0.8993, allocations: 125.8 kB / 0.8785 GB, free: 180 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.8995, allocations: 19.8 kB / 0.8785 GB, free: 160 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.9019, allocations: 2.334 MB / 0.8808 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.9019, allocations: 11.98 kB / 0.8808 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.9019, allocations: 7.984 kB / 0.8808 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.9019, allocations: 3.938 kB / 0.8808 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.9051, allocations: 3.423 MB / 0.8841 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.9051, allocations: 4 kB / 0.8841 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.9054, allocations: 55.89 kB / 0.8842 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.9055, allocations: 4 kB / 0.8842 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.9055, allocations: 15.86 kB / 0.8842 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.9055, allocations: 4 kB / 0.8842 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9055, allocations: 0 / 0.8842 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007784/0.9063, allocations: 0.5431 MB / 0.8847 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.9064, allocations: 140.5 kB / 0.8849 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.9065, allocations: 11.94 kB / 0.8849 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.9067, allocations: 11.98 kB / 0.8849 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.9068, allocations: 19.98 kB / 0.8849 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.9068, allocations: 15.98 kB / 0.8849 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.474e-05/0.9069, allocations: 103.3 kB / 0.885 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9069, allocations: 4 kB / 0.885 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004278/0.9112, allocations: 1.628 MB / 0.8866 GB, free: 7.664 MB / 0.6544 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.009852/0.921, allocations: 2.884 MB / 0.8894 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007726/0.9219, allocations: 324.8 kB / 0.8897 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.9219, allocations: 0 / 0.8897 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.9222, allocations: 240.5 kB / 0.89 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.9229, allocations: 67.77 kB / 0.89 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006534/0.9294, allocations: 3.045 MB / 0.893 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.9298, allocations: 0.7661 MB / 0.8938 GB, free: 348 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005943/0.9304, allocations: 409.3 kB / 0.8942 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.9306, allocations: 99.33 kB / 0.8942 GB, free: 15.84 MB / 0.67 GB Notification: Performance of SimCode: time 8.51e-07/0.9306, allocations: 0 / 0.8942 GB, free: 15.84 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/1.033, allocations: 60.88 MB / 0.9537 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.79, allocations: 3.25 kB / 0.9537 GB, free: 2.996 MB / 0.7169 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)