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 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.09278/0.09278, allocations: 11.16 MB / 30.51 MB, free: 4.902 MB / 24.77 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.001432/0.001432, allocations: 95.69 kB / 38.15 MB, free: 7.359 MB / 33.03 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.00165/0.00165, allocations: 156.5 kB / 45.85 MB, free: 10.73 MB / 44.04 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.448/1.448, allocations: 177.1 MB / 230.6 MB, free: 6.406 MB / 202.7 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.2555/0.2555, allocations: 17.63 MB / 309.1 MB, free: 1.695 MB / 266.7 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.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: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 390.4 MB, free: 5.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.3e-05, allocations: 2.312 kB / 390.4 MB, free: 5.07 MB / 346.7 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.03344/0.03347, allocations: 23.63 MB / 414 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.03459, allocations: 486.7 kB / 414.5 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.03469, allocations: 7.938 kB / 414.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.03481, allocations: 19.78 kB / 414.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.03494, allocations: 67.42 kB / 414.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.03505, allocations: 15.98 kB / 414.6 MB, free: 12.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.03528, allocations: 159 kB / 414.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.03539, allocations: 33.58 kB / 414.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.03553, allocations: 79.75 kB / 414.9 MB, free: 12.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.568e-05/0.03562, allocations: 39.89 kB / 414.9 MB, free: 12.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.03565, allocations: 8 kB / 414.9 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.593e-05/0.03567, allocations: 8 kB / 415 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.0357, allocations: 15.94 kB / 415 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.03576, allocations: 47.86 kB / 415 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.03596, allocations: 119.5 kB / 415.1 MB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.03596, allocations: 4 kB / 415.1 MB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.03596, allocations: 0 / 415.1 MB, free: 12.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.03597, allocations: 0 / 415.1 MB, free: 12.43 MB / 378.7 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.0005797/0.03655, allocations: 357.6 kB / 415.5 MB, free: 12.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.03658, allocations: 8.031 kB / 415.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.838e-05/0.03664, allocations: 20.84 kB / 415.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.03691, allocations: 178 kB / 415.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.03692, allocations: 4.375 kB / 415.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.03695, allocations: 4.375 kB / 415.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.03711, allocations: 82.11 kB / 415.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.03712, allocations: 192 / 415.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.03713, allocations: 4.375 kB / 415.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.03714, allocations: 7.938 kB / 415.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.13e-05/0.03723, allocations: 39.92 kB / 415.8 MB, free: 11.68 MB / 378.7 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.0005606/0.03779, allocations: 308.2 kB / 416.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.03793, allocations: 50.56 kB / 416.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.03798, allocations: 24.97 kB / 416.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.03799, allocations: 4 kB / 416.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.03802, allocations: 34.55 kB / 416.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.03802, allocations: 0 / 416.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002256/0.03825, allocations: 85.55 kB / 416.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.03831, allocations: 59.39 kB / 416.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.03849, allocations: 170.2 kB / 416.5 MB, free: 10.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.03851, allocations: 25.7 kB / 416.6 MB, free: 10.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.829e-05/0.03859, allocations: 116.1 kB / 416.7 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.03863, allocations: 27.92 kB / 416.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.03866, allocations: 13.72 kB / 416.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.03884, allocations: 330.8 kB / 417.1 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.802e-05/0.03887, allocations: 8 kB / 417.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.0389, allocations: 12 kB / 417.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.03918, allocations: 72.77 kB / 417.1 MB, free: 10.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.03918, allocations: 0 / 417.1 MB, free: 10.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001379/0.03932, allocations: 77.64 kB / 417.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.03933, allocations: 4 kB / 417.2 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.03934, allocations: 4 kB / 417.2 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.03936, allocations: 0 / 417.2 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/0.03943, allocations: 8.438 kB / 417.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.03943, allocations: 0 / 417.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.03947, allocations: 0 / 417.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.03948, allocations: 4 kB / 417.2 MB, free: 10.16 MB / 378.7 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.0001613/0.03964, allocations: 141.4 kB / 417.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.03968, allocations: 15.91 kB / 417.4 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.03972, allocations: 13.16 kB / 417.4 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.03972, allocations: 0 / 417.4 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.03972, allocations: 3.938 kB / 417.4 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.03973, allocations: 3.984 kB / 417.4 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.03993, allocations: 145.2 kB / 417.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.03993, allocations: 0 / 417.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.04, allocations: 8 kB / 417.6 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.04001, allocations: 3.984 kB / 417.6 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.04002, allocations: 4 kB / 417.6 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.04002, allocations: 4 kB / 417.6 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.04002, allocations: 0 / 417.6 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.04027, allocations: 191.3 kB / 417.8 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.04031, allocations: 11.98 kB / 417.8 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.04033, allocations: 3.984 kB / 417.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.0404, allocations: 0 / 417.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.04042, allocations: 0 / 417.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.04043, allocations: 4 kB / 417.8 MB, free: 9.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.04054, allocations: 124.3 kB / 417.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04054, allocations: 64 / 417.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.04078, allocations: 31.89 kB / 417.9 MB, free: 9.414 MB / 378.7 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.0001043/0.04089, allocations: 95.23 kB / 418 MB, free: 9.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.041, allocations: 28 kB / 418.1 MB, free: 9.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.041, allocations: 0 / 418.1 MB, free: 9.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/0.04103, allocations: 23.92 kB / 418.1 MB, free: 9.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.04147, allocations: 60.64 kB / 418.1 MB, free: 9.211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.04204, allocations: 284.8 kB / 418.4 MB, free: 8.906 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.04215, allocations: 94.28 kB / 418.5 MB, free: 8.793 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.0422, allocations: 12.95 kB / 418.5 MB, free: 8.777 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.04224, allocations: 12.5 kB / 418.5 MB, free: 8.766 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.04224, allocations: 4 kB / 418.5 MB, free: 8.762 MB / 378.7 MB Notification: Performance of Templates: time 0.004718/0.04696, allocations: 1.59 MB / 420.1 MB, free: 7.207 MB / 378.7 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: 4.6927900350419804]