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 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.09733/0.09733, allocations: 15.55 MB / 34.41 MB, free: 4.496 MB / 26.18 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.001343/0.001343, allocations: 105.8 kB / 41.98 MB, free: 6.176 MB / 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.001519/0.001519, allocations: 216.8 kB / 49.68 MB, free: 10.02 MB / 34.91 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.556/1.556, allocations: 230.6 MB / 287.8 MB, free: 6.273 MB / 206.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.1486/0.1486, allocations: 23.72 MB / 372.4 MB, free: 2.938 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 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/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: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.003745/0.003745, allocations: 120.3 kB / 0.5051 GB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2603, allocations: 63.85 MB / 0.5675 GB, free: 14.42 MB / 398.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.07251/0.3328, allocations: 24.64 MB / 0.5916 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3346, allocations: 0.7906 MB / 0.5923 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.3348, allocations: 15.88 kB / 0.5923 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.335, allocations: 87.08 kB / 0.5924 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.3354, allocations: 190.3 kB / 0.5926 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.3356, allocations: 91.88 kB / 0.5927 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005921/0.3362, allocations: 0.5598 MB / 0.5932 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.3364, allocations: 112.7 kB / 0.5934 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.3366, allocations: 191.4 kB / 0.5935 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.3369, allocations: 183 kB / 0.5937 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.977e-05/0.337, allocations: 35.94 kB / 0.5937 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/0.337, allocations: 32 kB / 0.5938 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.3371, allocations: 75.7 kB / 0.5939 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.3373, allocations: 195.1 kB / 0.594 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.3378, allocations: 466.1 kB / 0.5945 GB, free: 2.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3378, allocations: 4 kB / 0.5945 GB, free: 2.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3378, allocations: 4 kB / 0.5945 GB, free: 2.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3378, allocations: 0 / 0.5945 GB, free: 2.871 MB / 414.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.001118/0.3389, allocations: 0.6683 MB / 0.5951 GB, free: 2.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.339, allocations: 11.97 kB / 0.5952 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.339, allocations: 56.61 kB / 0.5952 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.3395, allocations: 282.2 kB / 0.5955 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.3395, allocations: 25.03 kB / 0.5955 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.3396, allocations: 24.38 kB / 0.5955 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.3401, allocations: 254.4 kB / 0.5958 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3401, allocations: 0 / 0.5958 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.3401, allocations: 12 kB / 0.5958 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.3401, allocations: 8 kB / 0.5958 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.3405, allocations: 186.5 kB / 0.596 GB, free: 1.297 MB / 414.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.001413/0.3419, allocations: 0.751 MB / 0.5967 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.3423, allocations: 217.7 kB / 0.5969 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.3425, allocations: 121.3 kB / 0.597 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3426, allocations: 240 / 0.597 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.3426, allocations: 38.8 kB / 0.5971 GB, free: 128 kB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.182e-06/0.3426, allocations: 0 / 0.5971 GB, free: 128 kB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006406/0.3432, allocations: 308.9 kB / 0.5974 GB, free: 15.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3433, allocations: 55.41 kB / 0.5974 GB, free: 15.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.3436, allocations: 280.6 kB / 0.5977 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3436, allocations: 25.7 kB / 0.5977 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3438, allocations: 208.6 kB / 0.5979 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.291e-05/0.3439, allocations: 103.2 kB / 0.598 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.3439, allocations: 45.67 kB / 0.598 GB, free: 15.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3441, allocations: 342.8 kB / 0.5984 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3443, allocations: 71.97 kB / 0.5984 GB, free: 14.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3444, allocations: 73.39 kB / 0.5985 GB, free: 14.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.3456, allocations: 393.5 kB / 0.5989 GB, free: 14.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3456, allocations: 4 kB / 0.5989 GB, free: 14.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004461/0.346, allocations: 265.4 kB / 0.5991 GB, free: 13.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3461, allocations: 4 kB / 0.5991 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3461, allocations: 0 / 0.5991 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3461, allocations: 4 kB / 0.5991 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.3464, allocations: 51.91 kB / 0.5992 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3464, allocations: 0 / 0.5992 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3465, allocations: 19.84 kB / 0.5992 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.3465, allocations: 8 kB / 0.5992 GB, free: 13.85 MB / 430.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.0002403/0.3468, allocations: 167.6 kB / 0.5994 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.3468, allocations: 39.7 kB / 0.5994 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.3469, allocations: 43.95 kB / 0.5995 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3469, allocations: 4 kB / 0.5995 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3469, allocations: 4 kB / 0.5995 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3469, allocations: 0 / 0.5995 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.3474, allocations: 297 kB / 0.5997 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3474, allocations: 0 / 0.5997 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.3477, allocations: 51.91 kB / 0.5998 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3477, allocations: 0 / 0.5998 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.3477, allocations: 8 kB / 0.5998 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3478, allocations: 3.984 kB / 0.5998 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3478, allocations: 0 / 0.5998 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007155/0.3485, allocations: 467.2 kB / 0.6003 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.3486, allocations: 51.77 kB / 0.6003 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.3486, allocations: 8 kB / 0.6003 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.3488, allocations: 0 / 0.6003 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.3488, allocations: 15.97 kB / 0.6003 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3489, allocations: 8 kB / 0.6003 GB, free: 12.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.3491, allocations: 207 kB / 0.6005 GB, free: 12.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3491, allocations: 0 / 0.6005 GB, free: 12.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.3494, allocations: 99.84 kB / 0.6006 GB, free: 12.35 MB / 430.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.0001046/0.3495, allocations: 99.19 kB / 0.6007 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.3499, allocations: 183.9 kB / 0.6009 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3499, allocations: 4 kB / 0.6009 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.3501, allocations: 99.84 kB / 0.601 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.3506, allocations: 94.44 kB / 0.6011 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.352, allocations: 0.8432 MB / 0.6019 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.3522, allocations: 190.8 kB / 0.6021 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.3523, allocations: 22.28 kB / 0.6021 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.512e-05/0.3524, allocations: 23.44 kB / 0.6021 GB, free: 10.75 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3524, allocations: 0 / 0.6021 GB, free: 10.75 MB / 430.1 MB Notification: Performance of Templates: time 0.008205/0.3606, allocations: 3.847 MB / 0.6059 GB, free: 6.977 MB / 430.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: 4.941231122240424] Failed to read output from testmodel.py, exit status != 0: 0.3692463804036379 0.383422804 0.042602307000000006 Calling exit ...