Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.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.1776/0.1776, allocations: 23.88 MB / 42.7 MB, free: 2.641 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.001315/0.001315, allocations: 103.5 kB / 52.39 MB, free: 352 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.001584/0.001584, allocations: 202.3 kB / 62.22 MB, free: 2.164 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.618/1.618, allocations: 230.6 MB / 302.5 MB, free: 6.852 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.1884/0.1884, allocations: 23.72 MB / 389.1 MB, free: 9.199 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.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") [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.003478/0.003478, allocations: 124 kB / 0.5257 GB, free: 42.12 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1719, allocations: 65.97 MB / 0.5901 GB, free: 9.488 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.MuscleHeat): time 0.04392/0.2158, allocations: 23.04 MB / 0.6126 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.2174, allocations: 0.5143 MB / 0.6131 GB, free: 2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.2176, allocations: 3.938 kB / 0.6131 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.2179, allocations: 27.72 kB / 0.6131 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.218, allocations: 59.5 kB / 0.6132 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.2182, allocations: 15.97 kB / 0.6132 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.2185, allocations: 159.1 kB / 0.6133 GB, free: 1.738 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.2186, allocations: 21.67 kB / 0.6134 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2187, allocations: 59.67 kB / 0.6134 GB, free: 1.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.2188, allocations: 51.73 kB / 0.6135 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.2189, allocations: 4 kB / 0.6135 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.285e-05/0.2189, allocations: 8 kB / 0.6135 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.2189, allocations: 23.91 kB / 0.6135 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.219, allocations: 67.61 kB / 0.6136 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.2192, allocations: 123.4 kB / 0.6137 GB, free: 1.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2192, allocations: 0 / 0.6137 GB, free: 1.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2192, allocations: 0 / 0.6137 GB, free: 1.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2192, allocations: 0 / 0.6137 GB, free: 1.379 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006773/0.2199, allocations: 361.6 kB / 0.614 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.22, allocations: 12.03 kB / 0.614 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.22, allocations: 16.84 kB / 0.6141 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.2203, allocations: 182.1 kB / 0.6142 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2204, allocations: 4.375 kB / 0.6142 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.2204, allocations: 8.375 kB / 0.6142 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.2206, allocations: 76.94 kB / 0.6143 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2206, allocations: 0 / 0.6143 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2206, allocations: 0 / 0.6143 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.2206, allocations: 4 kB / 0.6143 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.684e-05/0.2207, allocations: 35.98 kB / 0.6143 GB, free: 0.6367 MB / 430.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.0007881/0.2215, allocations: 458.4 kB / 0.6148 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.2216, allocations: 58.5 kB / 0.6148 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.2217, allocations: 20.97 kB / 0.6149 GB, free: 32 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.2217, allocations: 4 kB / 0.6149 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.206e-05/0.2218, allocations: 38.56 kB / 0.6149 GB, free: 15.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.2218, allocations: 0 / 0.6149 GB, free: 15.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002394/0.222, allocations: 81.59 kB / 0.615 GB, free: 15.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.2221, allocations: 55.34 kB / 0.615 GB, free: 15.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.2223, allocations: 182.3 kB / 0.6152 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.2223, allocations: 25.7 kB / 0.6152 GB, free: 15.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.2224, allocations: 112.2 kB / 0.6153 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.2224, allocations: 19.86 kB / 0.6154 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.2225, allocations: 25.64 kB / 0.6154 GB, free: 15.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2226, allocations: 322.8 kB / 0.6157 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.179e-05/0.2226, allocations: 12 kB / 0.6157 GB, free: 15.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/0.2227, allocations: 12 kB / 0.6157 GB, free: 15.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.223, allocations: 73.2 kB / 0.6158 GB, free: 15.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.223, allocations: 4 kB / 0.6158 GB, free: 15.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001296/0.2231, allocations: 77.59 kB / 0.6159 GB, free: 14.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2231, allocations: 11.94 kB / 0.6159 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2231, allocations: 0 / 0.6159 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2232, allocations: 7.875 kB / 0.6159 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.2232, allocations: 8 kB / 0.6159 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.2232, allocations: 3.938 kB / 0.6159 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.2233, allocations: 3.938 kB / 0.6159 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.2233, allocations: 4 kB / 0.6159 GB, free: 14.9 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: muscle.relativeHeat:VARIABLE(flow=false start = muscle.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 (6): * Single equations (assignments): 6 * 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.0001849/0.2235, allocations: 122.6 kB / 0.616 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.2235, allocations: 15.91 kB / 0.616 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.267e-05/0.2236, allocations: 17.09 kB / 0.616 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2236, allocations: 3.984 kB / 0.616 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.2236, allocations: 3.938 kB / 0.6161 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2236, allocations: 0 / 0.6161 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.2239, allocations: 172.7 kB / 0.6162 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2239, allocations: 0 / 0.6162 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.2239, allocations: 8 kB / 0.6162 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2239, allocations: 4 kB / 0.6162 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2239, allocations: 0 / 0.6162 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2239, allocations: 0 / 0.6162 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.224, allocations: 7.922 kB / 0.6162 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.2242, allocations: 195.5 kB / 0.6164 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.2242, allocations: 11.94 kB / 0.6164 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.2243, allocations: 4 kB / 0.6164 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.2243, allocations: 0 / 0.6164 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.2244, allocations: 15.98 kB / 0.6165 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2244, allocations: 0 / 0.6165 GB, free: 14.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.2245, allocations: 135.2 kB / 0.6166 GB, free: 14.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2245, allocations: 0 / 0.6166 GB, free: 14.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.2247, allocations: 20 kB / 0.6166 GB, free: 14.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (muscle.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 (5): * Single equations (assignments): 5 * 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.0001037/0.2248, allocations: 87.25 kB / 0.6167 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.225, allocations: 39.92 kB / 0.6167 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.225, allocations: 0 / 0.6167 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.95e-05/0.225, allocations: 16 kB / 0.6167 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.2255, allocations: 69 kB / 0.6168 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.2262, allocations: 328.3 kB / 0.6171 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.2266, allocations: 0.7045 MB / 0.6178 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.118e-05/0.2266, allocations: 24.98 kB / 0.6178 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.2267, allocations: 15.44 kB / 0.6178 GB, free: 12.77 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2267, allocations: 0 / 0.6178 GB, free: 12.77 MB / 446.1 MB Notification: Performance of Templates: time 0.00567/0.2323, allocations: 1.79 MB / 0.6196 GB, free: 11.01 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.850711059058085] Failed to read output from testmodel.py, exit status != 0: 0.24065839080139995 0.25690960100000004 0.034344659 Calling exit ...