Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_dev_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.006004/0.006004, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001292/0.001292, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.792/0.792, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 61.84 kB / 0.5851 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1443, allocations: 80.91 MB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4782/0.6226, allocations: 136.2 MB / 0.7971 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.6448, allocations: 22.32 MB / 0.8189 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.6451, allocations: 0 / 0.8189 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.6453, allocations: 48.92 kB / 0.819 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.6457, allocations: 94.48 kB / 0.8191 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01703/0.6627, allocations: 6.677 MB / 0.8256 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.6631, allocations: 253.5 kB / 0.8258 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.6632, allocations: 15.59 kB / 0.8258 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.6635, allocations: 139.8 kB / 0.826 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.6637, allocations: 93.22 kB / 0.8261 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.6637, allocations: 10.22 kB / 0.8261 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02132/0.685, allocations: 10.96 MB / 0.8368 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.6852, allocations: 41.77 kB / 0.8368 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.6853, allocations: 81.5 kB / 0.8369 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01356/0.6989, allocations: 6.148 MB / 0.8429 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.6989, allocations: 0 / 0.8429 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6989, allocations: 4 kB / 0.8429 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.699, allocations: 0 / 0.8429 GB, free: 8.406 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.002833/0.7018, allocations: 1.193 MB / 0.8441 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.7018, allocations: 13.11 kB / 0.8441 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.053e-05/0.7019, allocations: 50.73 kB / 0.8441 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.7029, allocations: 80.67 kB / 0.8442 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.7032, allocations: 228.3 kB / 0.8444 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.7032, allocations: 15.94 kB / 0.8444 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.7032, allocations: 20 kB / 0.8444 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.7042, allocations: 444.7 kB / 0.8449 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.7043, allocations: 4 kB / 0.8449 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.7043, allocations: 7.984 kB / 0.8449 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.7043, allocations: 4 kB / 0.8449 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.7054, allocations: 0.597 MB / 0.8455 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009608/0.7064, allocations: 0.8821 MB / 0.8463 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007204/0.7071, allocations: 250.3 kB / 0.8466 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.7072, allocations: 76.83 kB / 0.8466 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09049/0.7977, allocations: 35.42 MB / 0.8812 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.7978, allocations: 42.5 kB / 0.8813 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.555e-06/0.7978, allocations: 0 / 0.8813 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001814/0.7997, allocations: 421.8 kB / 0.8817 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.7997, allocations: 55.41 kB / 0.8817 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.7999, allocations: 139.5 kB / 0.8819 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.7999, allocations: 29.7 kB / 0.8819 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.8, allocations: 108.3 kB / 0.882 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.525e-05/0.8001, allocations: 86.75 kB / 0.8821 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.8002, allocations: 77.67 kB / 0.8821 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.8004, allocations: 322.8 kB / 0.8825 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.8005, allocations: 87.88 kB / 0.8825 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.8008, allocations: 133.1 kB / 0.8827 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.8012, allocations: 217.8 kB / 0.8829 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8012, allocations: 8 kB / 0.8829 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007385/0.802, allocations: 297.2 kB / 0.8832 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.802, allocations: 4 kB / 0.8832 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.802, allocations: 4 kB / 0.8832 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.802, allocations: 0 / 0.8832 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.8024, allocations: 79.88 kB / 0.8832 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.8024, allocations: 4 kB / 0.8833 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.8026, allocations: 19.78 kB / 0.8833 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.8026, allocations: 28.12 kB / 0.8833 GB, free: 11.62 MB / 0.6544 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.0001828/0.8028, allocations: 139 kB / 0.8834 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.803, allocations: 15.81 kB / 0.8834 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/0.8058, allocations: 2.338 MB / 0.8857 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.8058, allocations: 11.98 kB / 0.8857 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.8059, allocations: 0 / 0.8857 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.8059, allocations: 7.875 kB / 0.8857 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.8093, allocations: 3.429 MB / 0.8891 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.8093, allocations: 7.938 kB / 0.8891 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.8096, allocations: 51.94 kB / 0.8892 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.8096, allocations: 4 kB / 0.8892 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.8097, allocations: 7.938 kB / 0.8892 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.8097, allocations: 4 kB / 0.8892 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8097, allocations: 0 / 0.8892 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008705/0.8105, allocations: 0.5466 MB / 0.8897 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.8107, allocations: 144.5 kB / 0.8898 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.8108, allocations: 11 kB / 0.8898 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.811, allocations: 15.98 kB / 0.8899 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.8111, allocations: 15.97 kB / 0.8899 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.8111, allocations: 12 kB / 0.8899 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001266/0.8112, allocations: 109.1 kB / 0.89 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8112, allocations: 0 / 0.89 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004611/0.8159, allocations: 1.624 MB / 0.8916 GB, free: 2.973 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.009293/0.8252, allocations: 2.883 MB / 0.8944 GB, free: 60 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007299/0.8259, allocations: 325.3 kB / 0.8947 GB, free: 15.74 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8259, allocations: 0 / 0.8947 GB, free: 15.74 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.8263, allocations: 232.5 kB / 0.8949 GB, free: 15.51 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.8269, allocations: 77.05 kB / 0.895 GB, free: 15.44 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005978/0.8329, allocations: 3.057 MB / 0.898 GB, free: 12.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.8332, allocations: 0.7622 MB / 0.8987 GB, free: 11.48 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005126/0.8338, allocations: 409.2 kB / 0.8991 GB, free: 11.08 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.834, allocations: 99.39 kB / 0.8992 GB, free: 10.98 MB / 0.67 GB Notification: Performance of SimCode: time 7.71e-07/0.834, allocations: 3.938 kB / 0.8992 GB, free: 10.98 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/0.9352, allocations: 60.9 MB / 0.9587 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.28, allocations: 4.547 kB / 0.9587 GB, free: 14.09 MB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)