Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.001352/0.001352, allocations: 97.31 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.001429/0.001429, allocations: 216.9 kB / 23.03 MB, free: 4.922 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.8885/0.8885, allocations: 134 MB / 447.2 MB, free: 9.945 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",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.001997/0.001997, allocations: 73.77 kB / 0.6192 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1753, allocations: 85.91 MB / 0.7031 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.581/0.7562, allocations: 118.9 MB / 0.8193 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001951/0.7564, allocations: 54.77 kB / 0.8193 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.7565, allocations: 0 / 0.8193 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.7566, allocations: 11.2 kB / 0.8193 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.508e-05/0.7567, allocations: 7.922 kB / 0.8194 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008768/0.7575, allocations: 257.3 kB / 0.8196 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.271e-05/0.7576, allocations: 34.42 kB / 0.8196 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.7577, allocations: 3.984 kB / 0.8196 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.7577, allocations: 18.08 kB / 0.8197 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.536e-05/0.7578, allocations: 6.031 kB / 0.8197 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.7578, allocations: 5.203 kB / 0.8197 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.7581, allocations: 187.9 kB / 0.8198 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.7582, allocations: 3.984 kB / 0.8198 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.7582, allocations: 9 kB / 0.8199 GB, free: 6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.7585, allocations: 175.2 kB / 0.82 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7585, allocations: 0 / 0.82 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7585, allocations: 0 / 0.82 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.7585, allocations: 0 / 0.82 GB, free: 5.922 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004169/0.7589, allocations: 289.9 kB / 0.8203 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.759, allocations: 7.531 kB / 0.8203 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.274e-05/0.759, allocations: 6.094 kB / 0.8203 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.759, allocations: 34.73 kB / 0.8203 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.7591, allocations: 0.9375 kB / 0.8203 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.7592, allocations: 109.4 kB / 0.8204 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.245e-05/0.7593, allocations: 70.33 kB / 0.8205 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.7593, allocations: 0 / 0.8205 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.7594, allocations: 70.19 kB / 0.8206 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.7595, allocations: 0 / 0.8206 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.7595, allocations: 0 / 0.8206 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.7595, allocations: 2.406 kB / 0.8206 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.7595, allocations: 16.11 kB / 0.8206 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.7602, allocations: 281.2 kB / 0.8209 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.766e-05/0.7602, allocations: 28.86 kB / 0.8209 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.7603, allocations: 4.859 kB / 0.8209 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.887e-05/0.7603, allocations: 32.52 kB / 0.8209 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.7604, allocations: 33.34 kB / 0.821 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.7604, allocations: 0 / 0.821 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001563/0.7605, allocations: 38.8 kB / 0.821 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.7606, allocations: 53.41 kB / 0.821 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.7606, allocations: 104.1 kB / 0.8211 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.7607, allocations: 25.7 kB / 0.8212 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.7607, allocations: 86.28 kB / 0.8213 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-06/0.7607, allocations: 4.125 kB / 0.8213 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.7608, allocations: 20.7 kB / 0.8213 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.7609, allocations: 316.8 kB / 0.8216 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.7609, allocations: 3.062 kB / 0.8216 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/0.761, allocations: 19.03 kB / 0.8216 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.66e-05/0.761, allocations: 22.67 kB / 0.8216 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.761, allocations: 3.875 kB / 0.8216 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.471e-05/0.7611, allocations: 51 kB / 0.8217 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.7611, allocations: 13.86 kB / 0.8217 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.7611, allocations: 0 / 0.8217 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7611, allocations: 6.562 kB / 0.8217 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.421e-05/0.7611, allocations: 4.906 kB / 0.8217 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.7612, allocations: 0 / 0.8217 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.7612, allocations: 3.938 kB / 0.8217 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.7612, allocations: 6.594 kB / 0.8217 GB, free: 4.16 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.73e-05/0.7613, allocations: 112.8 kB / 0.8218 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.7613, allocations: 0 / 0.8218 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.7614, allocations: 122.3 kB / 0.8219 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-05/0.7615, allocations: 180.2 kB / 0.8221 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.742e-05/0.7616, allocations: 182.5 kB / 0.8223 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.278e-05/0.7616, allocations: 184.2 kB / 0.8225 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.7619, allocations: 378.1 kB / 0.8228 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-05/0.7619, allocations: 101 kB / 0.8229 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.762, allocations: 115.5 kB / 0.823 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-05/0.7621, allocations: 176.3 kB / 0.8232 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.699e-05/0.7621, allocations: 183 kB / 0.8234 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-05/0.7622, allocations: 180.2 kB / 0.8235 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.857e-05/0.7623, allocations: 178.6 kB / 0.8237 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.7625, allocations: 317.5 kB / 0.824 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.7625, allocations: 107.3 kB / 0.8241 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-05/0.7626, allocations: 184.1 kB / 0.8243 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.7628, allocations: 110.2 kB / 0.8244 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.7628, allocations: 184.2 kB / 0.8246 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.7629, allocations: 107.9 kB / 0.8247 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.7629, allocations: 82.14 kB / 0.8248 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.7629, allocations: 0 / 0.8248 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002993/0.7632, allocations: 55.72 kB / 0.8248 GB, free: 0.875 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0006257/0.7639, allocations: 0.8884 MB / 0.8257 GB, free: 20 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.457e-05/0.7639, allocations: 9.188 kB / 0.8257 GB, free: 16 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.7639, allocations: 2.281 kB / 0.8257 GB, free: 16 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.7639, allocations: 0 / 0.8257 GB, free: 16 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.7644, allocations: 469.4 kB / 0.8261 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.7656, allocations: 1.349 MB / 0.8274 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.488e-05/0.7656, allocations: 60.78 kB / 0.8275 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.7656, allocations: 6.078 kB / 0.8275 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.7657, allocations: 11.47 kB / 0.8275 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.7657, allocations: 0 / 0.8275 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.7904, allocations: 2.422 MB / 0.8299 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.24, allocations: 13.14 kB / 0.8299 GB, free: 12.79 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.087878195918165] Failed to read output from testmodel.py, exit status != 0: 12.417821316048503 12.439072444 11.676122484 Calling exit ...