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.05401/0.05401, allocations: 11.16 MB / 30.72 MB, free: 4.453 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.0008386/0.0008386, allocations: 102.8 kB / 38.4 MB, free: 7 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.0009595/0.0009595, allocations: 164.5 kB / 46.17 MB, free: 10.33 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 0.8733/0.8733, allocations: 177.2 MB / 231 MB, free: 4.773 MB / 202.7 MB " [Timeout remaining time 179] 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.09042/0.09042, allocations: 17.64 MB / 309.6 MB, free: 8.738 MB / 282.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.663e-06/1.663e-06, allocations: 0.7656 kB / 391.2 MB, free: 46.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.947e-05, allocations: 6.312 kB / 391.2 MB, free: 46.21 MB / 330.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.01884/0.01886, allocations: 26.09 MB / 417.3 MB, free: 20.44 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008026/0.01966, allocations: 0.4986 MB / 417.8 MB, free: 19.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.01974, allocations: 3.938 kB / 417.8 MB, free: 19.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.01985, allocations: 19.8 kB / 417.8 MB, free: 19.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.368e-05/0.01993, allocations: 67.41 kB / 417.9 MB, free: 19.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.02003, allocations: 19.98 kB / 417.9 MB, free: 19.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.02017, allocations: 163 kB / 418.1 MB, free: 19.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.941e-05/0.02027, allocations: 25.64 kB / 418.1 MB, free: 19.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/0.02034, allocations: 79.75 kB / 418.2 MB, free: 19.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.257e-05/0.02041, allocations: 35.86 kB / 418.2 MB, free: 19.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.02043, allocations: 8 kB / 418.2 MB, free: 19.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/0.02044, allocations: 8 kB / 418.2 MB, free: 19.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.02046, allocations: 19.91 kB / 418.2 MB, free: 19.49 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.0205, allocations: 47.86 kB / 418.3 MB, free: 19.44 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.02062, allocations: 83.67 kB / 418.4 MB, free: 19.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.02063, allocations: 4 kB / 418.4 MB, free: 19.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.02063, allocations: 0 / 418.4 MB, free: 19.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.02063, allocations: 0 / 418.4 MB, free: 19.36 MB / 330.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.0003349/0.02097, allocations: 467.9 kB / 418.8 MB, free: 18.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.021, allocations: 8.031 kB / 418.8 MB, free: 18.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.02104, allocations: 24.84 kB / 418.9 MB, free: 18.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.02119, allocations: 180.3 kB / 419 MB, free: 18.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.0212, allocations: 4.375 kB / 419 MB, free: 18.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.02122, allocations: 12.31 kB / 419.1 MB, free: 18.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.703e-05/0.02131, allocations: 58.23 kB / 419.1 MB, free: 18.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.02132, allocations: 192 / 419.1 MB, free: 18.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.02133, allocations: 4.375 kB / 419.1 MB, free: 18.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.02133, allocations: 3.938 kB / 419.1 MB, free: 18.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.262e-05/0.02137, allocations: 23.08 kB / 419.1 MB, free: 18.52 MB / 330.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.0003197/0.02169, allocations: 355.4 kB / 419.5 MB, free: 18.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.982e-05/0.02177, allocations: 66.92 kB / 419.6 MB, free: 18.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.0218, allocations: 19.81 kB / 419.6 MB, free: 18.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.02181, allocations: 0 / 419.6 MB, free: 18.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.02182, allocations: 33.39 kB / 419.6 MB, free: 18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.02182, allocations: 0 / 419.6 MB, free: 18 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001401/0.02196, allocations: 65.64 kB / 419.7 MB, free: 17.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/0.02198, allocations: 55.41 kB / 419.7 MB, free: 17.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.02207, allocations: 218.4 kB / 419.9 MB, free: 17.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-06/0.02207, allocations: 25.7 kB / 420 MB, free: 17.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.02211, allocations: 178.8 kB / 420.1 MB, free: 17.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.02213, allocations: 15.89 kB / 420.2 MB, free: 17.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.02215, allocations: 23.38 kB / 420.2 MB, free: 17.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.805e-05/0.02219, allocations: 0.4922 MB / 420.7 MB, free: 16.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.0222, allocations: 12 kB / 420.7 MB, free: 16.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.02221, allocations: 4 kB / 420.7 MB, free: 16.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.132e-05/0.02226, allocations: 35.67 kB / 420.7 MB, free: 16.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.02227, allocations: 0 / 420.7 MB, free: 16.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.69e-05/0.02232, allocations: 69.55 kB / 420.8 MB, free: 16.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.02233, allocations: 4 kB / 420.8 MB, free: 16.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.02234, allocations: 3.984 kB / 420.8 MB, free: 16.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.02235, allocations: 4 kB / 420.8 MB, free: 16.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.469e-05/0.0224, allocations: 8 kB / 420.8 MB, free: 16.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.02241, allocations: 0 / 420.8 MB, free: 16.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.02243, allocations: 7.938 kB / 420.8 MB, free: 16.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.02243, allocations: 448 / 420.8 MB, free: 16.71 MB / 330.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 7.995e-05/0.02251, allocations: 164.5 kB / 421 MB, free: 16.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.02253, allocations: 11.91 kB / 421 MB, free: 16.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.02257, allocations: 21.14 kB / 421 MB, free: 16.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.02257, allocations: 4 kB / 421 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.02257, allocations: 4 kB / 421 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.02257, allocations: 0 / 421 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.17e-05/0.02266, allocations: 160.5 kB / 421.2 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.02267, allocations: 0 / 421.2 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.02271, allocations: 4 kB / 421.2 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.02271, allocations: 4 kB / 421.2 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.02272, allocations: 3.938 kB / 421.2 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.02272, allocations: 3.938 kB / 421.2 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.02272, allocations: 3.984 kB / 421.2 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.02282, allocations: 227.8 kB / 421.4 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.02284, allocations: 7.953 kB / 421.4 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.02285, allocations: 4.031 kB / 421.4 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.455e-05/0.02289, allocations: 4 kB / 421.4 MB, free: 16.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.0229, allocations: 7.984 kB / 421.4 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.02291, allocations: 0 / 421.4 MB, free: 16.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.441e-05/0.02295, allocations: 159.2 kB / 421.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02295, allocations: 0 / 421.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000152/0.0231, allocations: 23.95 kB / 421.6 MB, free: 15.84 MB / 330.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 5.112e-05/0.02315, allocations: 87.25 kB / 421.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.652e-05/0.02323, allocations: 39.48 kB / 421.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.02323, allocations: 4 kB / 421.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.02325, allocations: 23.69 kB / 421.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.0235, allocations: 56.08 kB / 421.8 MB, free: 15.62 MB / 330.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/(kg.K): Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007905/0.02429, allocations: 323.7 kB / 422.1 MB, free: 15.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.441e-05/0.02431, allocations: 67.33 kB / 422.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.946e-05/0.02434, allocations: 12.97 kB / 422.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.02437, allocations: 16.5 kB / 422.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02437, allocations: 0 / 422.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of Templates: time 0.002697/0.02706, allocations: 1.613 MB / 423.8 MB, free: 13.61 MB / 330.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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.838964704889804]