Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.2135/0.2135, allocations: 23.87 MB / 42.7 MB, free: 2.637 MB / 34.91 MB " [Timeout remaining time 180] 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: 105.2 kB / 52.39 MB, free: 360 kB / 34.91 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.001693/0.001693, allocations: 206.3 kB / 62.21 MB, free: 2.168 MB / 46.55 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.709/1.709, allocations: 230.6 MB / 302.5 MB, free: 6.844 MB / 222.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.2112/0.2112, allocations: 23.71 MB / 389.1 MB, free: 9.195 MB / 286.1 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 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) Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") [Timeout 660] "Notification: Chemical 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: Physiolibrary 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: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Physiolibrary requested package Chemical of version 1.4.0. Chemical 2.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(Physiolibrary, Chemical, \"2.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.003624/0.003624, allocations: 123.9 kB / 0.5257 GB, free: 42.22 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1701, allocations: 65.96 MB / 0.5901 GB, free: 9.465 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Thermal.Examples.ThermalBody_QHP): time 0.04445/0.2145, allocations: 24.8 MB / 0.6143 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.2171, allocations: 0.8295 MB / 0.6151 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.2173, allocations: 19.88 kB / 0.6151 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.2176, allocations: 83.14 kB / 0.6152 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003904/0.218, allocations: 186.4 kB / 0.6154 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.2183, allocations: 95.88 kB / 0.6155 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007086/0.219, allocations: 0.5636 MB / 0.616 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.2193, allocations: 120.7 kB / 0.6161 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.2195, allocations: 199.2 kB / 0.6163 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003328/0.2199, allocations: 203.1 kB / 0.6165 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.297e-05/0.2199, allocations: 32 kB / 0.6166 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.566e-05/0.22, allocations: 32 kB / 0.6166 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.616e-05/0.2201, allocations: 75.69 kB / 0.6167 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.2204, allocations: 234.9 kB / 0.6169 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006332/0.221, allocations: 466 kB / 0.6173 GB, free: 13.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.221, allocations: 4 kB / 0.6173 GB, free: 13.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.221, allocations: 0 / 0.6173 GB, free: 13.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.221, allocations: 0 / 0.6173 GB, free: 13.6 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001286/0.2223, allocations: 0.6683 MB / 0.618 GB, free: 12.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.2223, allocations: 12.03 kB / 0.618 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.878e-05/0.2224, allocations: 48.66 kB / 0.618 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.2229, allocations: 282.2 kB / 0.6183 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.223, allocations: 21.03 kB / 0.6183 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.223, allocations: 28.38 kB / 0.6184 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.2235, allocations: 258.4 kB / 0.6186 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.2235, allocations: 0 / 0.6186 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.2236, allocations: 8 kB / 0.6186 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2236, allocations: 8 kB / 0.6186 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.224, allocations: 190.5 kB / 0.6188 GB, free: 12.04 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.226, allocations: 1.513 MB / 0.6203 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.2264, allocations: 194.1 kB / 0.6205 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.2266, allocations: 113.3 kB / 0.6206 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.2266, allocations: 4.234 kB / 0.6206 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.2267, allocations: 46.72 kB / 0.6206 GB, free: 9.953 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.322e-06/0.2267, allocations: 0 / 0.6206 GB, free: 9.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006624/0.2273, allocations: 316.9 kB / 0.6209 GB, free: 9.641 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.2274, allocations: 51.41 kB / 0.621 GB, free: 9.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.2278, allocations: 325.7 kB / 0.6213 GB, free: 9.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-05/0.2279, allocations: 29.7 kB / 0.6213 GB, free: 9.215 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.228, allocations: 196.8 kB / 0.6215 GB, free: 9.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.2281, allocations: 95.12 kB / 0.6216 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-05/0.2282, allocations: 49.7 kB / 0.6216 GB, free: 8.871 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.2284, allocations: 350.7 kB / 0.622 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.2286, allocations: 67.98 kB / 0.622 GB, free: 8.453 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.2287, allocations: 72.91 kB / 0.6221 GB, free: 8.383 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.23, allocations: 402 kB / 0.6225 GB, free: 7.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.23, allocations: 4 kB / 0.6225 GB, free: 7.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004525/0.2304, allocations: 257.4 kB / 0.6227 GB, free: 7.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2304, allocations: 4 kB / 0.6227 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2305, allocations: 7.922 kB / 0.6228 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.2305, allocations: 8 kB / 0.6228 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.2308, allocations: 47.92 kB / 0.6228 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2308, allocations: 0 / 0.6228 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.2309, allocations: 23.78 kB / 0.6228 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.2309, allocations: 8 kB / 0.6228 GB, free: 7.629 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: core.relativeHeat:VARIABLE(flow=false start = core.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real GILumen.relativeHeat:VARIABLE(flow=false start = GILumen.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false start = skeletalMuscle.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skin.relativeHeat:VARIABLE(flow=false start = skin.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real 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 (31): * Single equations (assignments): 31 * 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.0002637/0.2312, allocations: 163.7 kB / 0.623 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.2313, allocations: 43.72 kB / 0.623 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.2314, allocations: 48.23 kB / 0.6231 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2314, allocations: 4 kB / 0.6231 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.2314, allocations: 0 / 0.6231 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2314, allocations: 0 / 0.6231 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.232, allocations: 380.4 kB / 0.6234 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.232, allocations: 0 / 0.6234 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.2323, allocations: 51.91 kB / 0.6235 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.2323, allocations: 7.984 kB / 0.6235 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.2323, allocations: 4 kB / 0.6235 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2323, allocations: 0 / 0.6235 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2323, allocations: 4 kB / 0.6235 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.233, allocations: 463.2 kB / 0.624 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.2331, allocations: 59.67 kB / 0.624 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.2332, allocations: 8 kB / 0.624 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.2333, allocations: 7.984 kB / 0.624 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.2334, allocations: 19.91 kB / 0.624 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.2334, allocations: 8 kB / 0.6241 GB, free: 6.312 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002626/0.2337, allocations: 227.2 kB / 0.6243 GB, free: 6.094 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2337, allocations: 0 / 0.6243 GB, free: 6.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.234, allocations: 95.89 kB / 0.6244 GB, free: 6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (core.relativeHeat,GILumen.relativeHeat,skeletalMuscle.relativeHeat,skin.relativeHeat) * 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 (27): * Single equations (assignments): 27 * 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.0001184/0.2341, allocations: 103.2 kB / 0.6245 GB, free: 5.887 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.2346, allocations: 192.1 kB / 0.6246 GB, free: 5.699 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2346, allocations: 0 / 0.6246 GB, free: 5.699 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.2348, allocations: 103.8 kB / 0.6247 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000656/0.2355, allocations: 109.5 kB / 0.6248 GB, free: 5.496 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.237, allocations: 0.8433 MB / 0.6257 GB, free: 4.625 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.2375, allocations: 0.7948 MB / 0.6264 GB, free: 3.801 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.2377, allocations: 34.95 kB / 0.6265 GB, free: 3.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.2377, allocations: 23.44 kB / 0.6265 GB, free: 3.746 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2377, allocations: 4 kB / 0.6265 GB, free: 3.742 MB / 446.1 MB Notification: Performance of Templates: time 0.009962/0.2477, allocations: 4.024 MB / 0.6304 GB, free: 15.77 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.964611805044115] Failed to read output from testmodel.py, exit status != 0: 0.25668265810236335 0.27306177699999995 0.04871045299999994 Calling exit ...