Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 210.9 kB / 23.02 MB, free: 4.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9254/0.9254, allocations: 134 MB / 447.2 MB, free: 9.938 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 62.94 kB / 0.6192 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1763, allocations: 85.92 MB / 0.7031 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002768/0.1791, allocations: 1.266 MB / 0.7044 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5667/0.7458, allocations: 120.8 MB / 0.8224 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.7459, allocations: 3.938 kB / 0.8224 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.7459, allocations: 0 / 0.8224 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.596e-05/0.746, allocations: 7.922 kB / 0.8224 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.7474, allocations: 470.3 kB / 0.8228 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.7e-05/0.7475, allocations: 41.41 kB / 0.8229 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.7475, allocations: 3.938 kB / 0.8229 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.7475, allocations: 25.31 kB / 0.8229 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.466e-05/0.7476, allocations: 20.84 kB / 0.8229 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.7476, allocations: 2.719 kB / 0.8229 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.7491, allocations: 0.8153 MB / 0.8237 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.7491, allocations: 14.78 kB / 0.8237 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.7492, allocations: 19.44 kB / 0.8238 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005945/0.7498, allocations: 454.2 kB / 0.8242 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7498, allocations: 0 / 0.8242 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7498, allocations: 0 / 0.8242 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.7498, allocations: 0 / 0.8242 GB, free: 2.848 MB / 0.5919 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.000491/0.7503, allocations: 298.1 kB / 0.8245 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.7503, allocations: 8.219 kB / 0.8245 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.301e-05/0.7503, allocations: 2.406 kB / 0.8245 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.336e-05/0.7503, allocations: 30.75 kB / 0.8245 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.7505, allocations: 16.86 kB / 0.8245 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.7506, allocations: 113.5 kB / 0.8246 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.7506, allocations: 2.875 kB / 0.8246 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.7506, allocations: 14.58 kB / 0.8246 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.7508, allocations: 136.1 kB / 0.8248 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.7509, allocations: 0 / 0.8248 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.7509, allocations: 4 kB / 0.8248 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.7509, allocations: 6.266 kB / 0.8248 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.25e-05/0.7509, allocations: 19.03 kB / 0.8248 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.7511, allocations: 128.6 kB / 0.8249 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.7513, allocations: 49.16 kB / 0.825 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.7513, allocations: 22.22 kB / 0.825 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.7618, allocations: 2.87 MB / 0.8278 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.7619, allocations: 38.48 kB / 0.8278 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.755e-06/0.7619, allocations: 0 / 0.8278 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04186/0.8038, allocations: 14.92 MB / 0.8424 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.8038, allocations: 51.41 kB / 0.8425 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.8039, allocations: 101.9 kB / 0.8426 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.8039, allocations: 25.7 kB / 0.8426 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.804, allocations: 80.14 kB / 0.8427 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.804, allocations: 43.64 kB / 0.8427 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.8041, allocations: 33.7 kB / 0.8427 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.8043, allocations: 318.8 kB / 0.843 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.8043, allocations: 23.98 kB / 0.8431 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.376e-05/0.8044, allocations: 27.98 kB / 0.8431 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.8045, allocations: 64.73 kB / 0.8431 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.8045, allocations: 0 / 0.8431 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002337/0.8048, allocations: 109.5 kB / 0.8433 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8048, allocations: 4 kB / 0.8433 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8048, allocations: 0 / 0.8433 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.8048, allocations: 0 / 0.8433 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.8049, allocations: 23.98 kB / 0.8433 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.8049, allocations: 4 kB / 0.8433 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.805, allocations: 4 kB / 0.8433 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.805, allocations: 4 kB / 0.8433 GB, free: 3.148 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.8051, allocations: 121.7 kB / 0.8434 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.8051, allocations: 3.953 kB / 0.8434 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.8054, allocations: 129.4 kB / 0.8435 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.8054, allocations: 0 / 0.8435 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.8054, allocations: 7.938 kB / 0.8435 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8054, allocations: 0 / 0.8435 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.8056, allocations: 148.7 kB / 0.8437 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8056, allocations: 0 / 0.8437 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.8057, allocations: 27.92 kB / 0.8437 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.8057, allocations: 6.5 kB / 0.8437 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.8057, allocations: 4 kB / 0.8437 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.8057, allocations: 4 kB / 0.8437 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.8057, allocations: 0 / 0.8437 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.806, allocations: 150.1 kB / 0.8439 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.8061, allocations: 15.98 kB / 0.8439 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.8061, allocations: 0 / 0.8439 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.8063, allocations: 12 kB / 0.8439 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.8063, allocations: 15.86 kB / 0.8439 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.8063, allocations: 15.98 kB / 0.8439 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.759e-05/0.8063, allocations: 75.28 kB / 0.844 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.8063, allocations: 0 / 0.844 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00173/0.8081, allocations: 0.5699 MB / 0.8446 GB, free: 1.777 MB / 0.6075 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 () * Number of clocked 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 (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.003565/0.8116, allocations: 0.9477 MB / 0.8455 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.8118, allocations: 63.91 kB / 0.8455 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8118, allocations: 0 / 0.8455 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.579e-05/0.8119, allocations: 35.92 kB / 0.8456 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.8121, allocations: 8 kB / 0.8456 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.8143, allocations: 1.559 MB / 0.8471 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.336e-05/0.8144, allocations: 71.34 kB / 0.8472 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.058e-05/0.8145, allocations: 20.55 kB / 0.8472 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.8145, allocations: 23.42 kB / 0.8472 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.8145, allocations: 0 / 0.8472 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06348/0.878, allocations: 25.7 MB / 0.8723 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.26, allocations: 7.922 kB / 0.8723 GB, free: 5.367 MB / 0.6387 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.932821045978926] Failed to read output from testmodel.py, exit status != 0: 13.434459756943397 13.452705965 12.699568143 Calling exit ...