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.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001377/0.001377, allocations: 195.7 kB / 16.14 MB, free: 6.695 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8699/0.8699, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 64.91 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1374, allocations: 80.92 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.3926/0.5301, allocations: 134 MB / 0.7147 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03109/0.5612, allocations: 24.62 MB / 0.7387 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.5615, allocations: 9.219 kB / 0.7388 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.5618, allocations: 46.36 kB / 0.7388 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004402/0.5623, allocations: 81.83 kB / 0.7389 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01912/0.5815, allocations: 5.284 MB / 0.744 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.5819, allocations: 309.7 kB / 0.7443 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.202e-05/0.582, allocations: 13.33 kB / 0.7443 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/0.5824, allocations: 126.4 kB / 0.7445 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.5826, allocations: 101.5 kB / 0.7446 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.5827, allocations: 6.75 kB / 0.7446 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02163/0.6043, allocations: 10.85 MB / 0.7552 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.6045, allocations: 43.83 kB / 0.7552 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.6046, allocations: 75.66 kB / 0.7553 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.622, allocations: 6.195 MB / 0.7613 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.622, allocations: 0 / 0.7613 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.622, allocations: 0 / 0.7613 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.6221, allocations: 4 kB / 0.7613 GB, free: 7.488 MB / 0.5762 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.003244/0.6253, allocations: 1.18 MB / 0.7625 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.6254, allocations: 12.03 kB / 0.7625 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.994e-05/0.6254, allocations: 46.73 kB / 0.7625 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.6265, allocations: 84.67 kB / 0.7626 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.6268, allocations: 240.2 kB / 0.7629 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.6268, allocations: 15.94 kB / 0.7629 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.6269, allocations: 12 kB / 0.7629 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.628, allocations: 455.3 kB / 0.7633 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.628, allocations: 5.438 kB / 0.7633 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.628, allocations: 4 kB / 0.7633 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.6281, allocations: 4 kB / 0.7633 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.6292, allocations: 0.5893 MB / 0.7639 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.6303, allocations: 0.8706 MB / 0.7648 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.6311, allocations: 254.3 kB / 0.765 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.6313, allocations: 78.58 kB / 0.7651 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07822/0.7095, allocations: 35.05 MB / 0.7993 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.7096, allocations: 34.56 kB / 0.7993 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.733e-06/0.7096, allocations: 0 / 0.7993 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001785/0.7114, allocations: 419.3 kB / 0.7997 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.7114, allocations: 59.34 kB / 0.7998 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.7115, allocations: 141.7 kB / 0.7999 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.7116, allocations: 33.7 kB / 0.8 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.7117, allocations: 108.4 kB / 0.8001 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/0.7117, allocations: 86.75 kB / 0.8001 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.7119, allocations: 77.66 kB / 0.8002 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.712, allocations: 330.8 kB / 0.8005 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.7121, allocations: 79.95 kB / 0.8006 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.7124, allocations: 130.6 kB / 0.8007 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.7128, allocations: 232.4 kB / 0.801 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7128, allocations: 0 / 0.801 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007011/0.7135, allocations: 301.3 kB / 0.8012 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.7135, allocations: 4 kB / 0.8012 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.7136, allocations: 4 kB / 0.8012 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.7136, allocations: 7.125 kB / 0.8013 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.7139, allocations: 79.88 kB / 0.8013 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.7139, allocations: 3.938 kB / 0.8013 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.7141, allocations: 27.69 kB / 0.8014 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.7141, allocations: 23.98 kB / 0.8014 GB, free: 11.08 MB / 0.6231 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.0001326/0.7143, allocations: 133.8 kB / 0.8015 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.7144, allocations: 15.91 kB / 0.8015 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.7166, allocations: 2.342 MB / 0.8038 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.7166, allocations: 15.98 kB / 0.8038 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7166, allocations: 0 / 0.8038 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7167, allocations: 3.938 kB / 0.8038 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/0.7196, allocations: 3.419 MB / 0.8072 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.7196, allocations: 0 / 0.8072 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.7199, allocations: 67.81 kB / 0.8072 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.7199, allocations: 4 kB / 0.8072 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.7199, allocations: 11.94 kB / 0.8073 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.72, allocations: 0 / 0.8073 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.72, allocations: 0 / 0.8073 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/0.7207, allocations: 0.5468 MB / 0.8078 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.7208, allocations: 136.6 kB / 0.8079 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.7209, allocations: 7.938 kB / 0.8079 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.7211, allocations: 19.98 kB / 0.8079 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.7211, allocations: 23.97 kB / 0.808 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.7212, allocations: 12 kB / 0.808 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.407e-05/0.7213, allocations: 113.7 kB / 0.8081 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7213, allocations: 3.938 kB / 0.8081 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003778/0.725, allocations: 1.62 MB / 0.8097 GB, free: 2.441 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 (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.00867/0.7337, allocations: 2.886 MB / 0.8125 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006509/0.7344, allocations: 320.5 kB / 0.8128 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7344, allocations: 4 kB / 0.8128 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.7348, allocations: 241.2 kB / 0.813 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.7353, allocations: 60.12 kB / 0.8131 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005333/0.7407, allocations: 3.16 MB / 0.8162 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.741, allocations: 0.7661 MB / 0.8169 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005336/0.7415, allocations: 405.2 kB / 0.8173 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.7418, allocations: 107.3 kB / 0.8174 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of SimCode: time 6.42e-07/0.7418, allocations: 0 / 0.8174 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7939/1.536, allocations: 60.61 MB / 0.8766 GB, free: 183.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/1.536, allocations: 177.7 kB / 0.8768 GB, free: 183.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.711/7.247, allocations: 3.875 kB / 0.8768 GB, free: 183.4 MB / 0.67 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)