Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001978, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7486/0.7486, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.0009202, allocations: 99.44 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.07e-05/5.105e-05, allocations: 2.438 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2165, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.557/1.773, allocations: 419.1 MB / 1.05 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.774, allocations: 66.42 kB / 1.05 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08421/1.858, allocations: 36.72 MB / 1.086 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.683e-06/1.858, allocations: 0 / 1.086 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.4e-06/1.858, allocations: 4 kB / 1.086 GB, free: 143.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004738/1.859, allocations: 369 kB / 1.086 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.859, allocations: 11.97 kB / 1.086 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/1.859, allocations: 34.56 kB / 1.086 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/1.859, allocations: 22.59 kB / 1.086 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.899e-05/1.859, allocations: 167 kB / 1.086 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/1.859, allocations: 0 / 1.086 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/1.859, allocations: 7.188 kB / 1.086 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/1.859, allocations: 59.55 kB / 1.086 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.859, allocations: 0 / 1.086 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.859, allocations: 0 / 1.086 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/1.859, allocations: 3.938 kB / 1.086 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.174e-05/1.859, allocations: 26.8 kB / 1.086 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/1.859, allocations: 159.6 kB / 1.087 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.331e-05/1.859, allocations: 52.81 kB / 1.087 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/1.859, allocations: 15.92 kB / 1.087 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009407/1.869, allocations: 3.146 MB / 1.09 GB, free: 139 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/1.869, allocations: 33.38 kB / 1.09 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/1.869, allocations: 0 / 1.09 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.02785/1.897, allocations: 13.45 MB / 1.103 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/1.897, allocations: 55.34 kB / 1.103 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/1.897, allocations: 89 kB / 1.103 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/1.897, allocations: 28.83 kB / 1.103 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.227e-05/1.897, allocations: 80.14 kB / 1.103 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/1.897, allocations: 41.08 kB / 1.103 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/1.897, allocations: 0 / 1.103 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/1.897, allocations: 322.3 kB / 1.103 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.655e-05/1.897, allocations: 18.81 kB / 1.103 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.623e-05/1.897, allocations: 19.94 kB / 1.103 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.643e-05/1.897, allocations: 28.17 kB / 1.103 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/1.897, allocations: 0 / 1.103 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001927/1.898, allocations: 101.3 kB / 1.104 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.898, allocations: 4 kB / 1.104 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.898, allocations: 0 / 1.104 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.898, allocations: 4 kB / 1.104 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/1.898, allocations: 27.92 kB / 1.104 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.898, allocations: 7.953 kB / 1.104 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/1.898, allocations: 3 kB / 1.104 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/1.898, allocations: 4.078 kB / 1.104 GB, free: 124.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/1.898, allocations: 108.3 kB / 1.104 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/1.898, allocations: 4 kB / 1.104 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/1.898, allocations: 133.1 kB / 1.104 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.898, allocations: 0 / 1.104 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.898, allocations: 4 kB / 1.104 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.898, allocations: 3.953 kB / 1.104 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/1.898, allocations: 164.1 kB / 1.104 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.898, allocations: 7.938 kB / 1.104 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/1.899, allocations: 31.17 kB / 1.104 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.899, allocations: 3.938 kB / 1.104 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/1.899, allocations: 0 / 1.104 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.899, allocations: 3.984 kB / 1.104 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.899, allocations: 0 / 1.104 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/1.899, allocations: 158.7 kB / 1.104 GB, free: 124 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/1.899, allocations: 95 kB / 1.104 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/1.899, allocations: 1.25 kB / 1.104 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/1.899, allocations: 16.98 kB / 1.104 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/1.899, allocations: 14.8 kB / 1.104 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/1.899, allocations: 0 / 1.104 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.33e-05/1.899, allocations: 79.28 kB / 1.104 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.353e-06/1.899, allocations: 0 / 1.104 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002327/1.901, allocations: 0.6068 MB / 1.105 GB, free: 123.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003742/1.905, allocations: 1.332 MB / 1.106 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002108/1.905, allocations: 62.8 kB / 1.106 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/1.905, allocations: 4 kB / 1.106 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.666e-05/1.906, allocations: 34.11 kB / 1.106 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/1.906, allocations: 7.125 kB / 1.106 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/1.907, allocations: 417 kB / 1.107 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/1.907, allocations: 0.6887 MB / 1.107 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001053/1.907, allocations: 24.53 kB / 1.108 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/1.907, allocations: 23.67 kB / 1.108 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of SimCode: time 5.51e-07/1.907, allocations: 0 / 1.108 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05711/1.964, allocations: 31.79 MB / 1.139 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/1.965, allocations: 141.3 kB / 1.139 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.876/4.841, allocations: 3.938 kB / 1.139 GB, free: 88.63 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)