Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Thermal.Examples.MuscleHeat.conf.json 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.0009283/0.0009283, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009485/0.0009485, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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.9551/0.9551, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.06616/0.06616, allocations: 12.77 MB / 273.8 MB, free: 120 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.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) Running command: translateModel(Bodylight.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Thermal.Examples.MuscleHeat") translateModel(Bodylight.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Thermal.Examples.MuscleHeat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 347.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.576e-05, allocations: 2.312 kB / 347.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.MuscleHeat): time 0.002319/0.002345, allocations: 2.187 MB / 350.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002687/0.002614, allocations: 103.6 kB / 350.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.002692, allocations: 3.938 kB / 350.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.002804, allocations: 19.8 kB / 350.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.002867, allocations: 47.61 kB / 350.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.002983, allocations: 23.97 kB / 350.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.003125, allocations: 123.2 kB / 350.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.003231, allocations: 23.97 kB / 350.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.003297, allocations: 55.89 kB / 350.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.15e-05/0.003378, allocations: 23.92 kB / 350.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.003396, allocations: 4 kB / 350.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.00341, allocations: 8 kB / 350.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.003432, allocations: 23.91 kB / 350.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.003466, allocations: 35.92 kB / 350.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.003584, allocations: 63.77 kB / 350.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003586, allocations: 0 / 350.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003587, allocations: 0 / 350.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.003592, allocations: 0 / 350.7 MB, free: 14.22 MB / 282.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.000378/0.00397, allocations: 424.2 kB / 351.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.004006, allocations: 11.98 kB / 351.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.004038, allocations: 12.89 kB / 351.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.004183, allocations: 152.4 kB / 351.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.004195, allocations: 4.375 kB / 351.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.004214, allocations: 12.36 kB / 351.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.65e-05/0.004301, allocations: 58.23 kB / 351.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.004312, allocations: 192 / 351.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.00432, allocations: 4.375 kB / 351.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004325, allocations: 384 / 351.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.004359, allocations: 23.86 kB / 351.3 MB, free: 13.46 MB / 282.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.0003537/0.004712, allocations: 312.2 kB / 351.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.668e-05/0.004799, allocations: 58.91 kB / 351.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.00482, allocations: 19.81 kB / 351.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.004826, allocations: 0 / 351.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.004847, allocations: 37.39 kB / 351.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.004847, allocations: 0 / 351.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001249/0.004972, allocations: 57.62 kB / 351.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.005, allocations: 51.41 kB / 351.9 MB, free: 12.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.005081, allocations: 189.3 kB / 352.1 MB, free: 12.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.005092, allocations: 29.7 kB / 352.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.005146, allocations: 158.7 kB / 352.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.005168, allocations: 15.84 kB / 352.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.005198, allocations: 27.36 kB / 352.3 MB, free: 12.42 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.005313, allocations: 496.1 kB / 352.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.005324, allocations: 4 kB / 352.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.005335, allocations: 8.234 kB / 352.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.81e-05/0.005383, allocations: 35.75 kB / 352.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005385, allocations: 0 / 352.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.777e-05/0.005463, allocations: 65.58 kB / 352.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.005475, allocations: 4 kB / 352.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005479, allocations: 0 / 352.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.005488, allocations: 4 kB / 352.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.472e-05/0.005543, allocations: 8 kB / 352.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.005546, allocations: 0 / 352.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.005565, allocations: 7.953 kB / 352.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-06/0.005569, allocations: 0 / 352.9 MB, free: 11.78 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: muscle.relativeHeat:VARIABLE(flow=false 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.0001132/0.005682, allocations: 169 kB / 353.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.0057, allocations: 8 kB / 353.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.005726, allocations: 8.125 kB / 353.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.005728, allocations: 3.938 kB / 353.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.00573, allocations: 4 kB / 353.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.005733, allocations: 4 kB / 353.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.005842, allocations: 117.2 kB / 353.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.005843, allocations: 0 / 353.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.005885, allocations: 11.92 kB / 353.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005887, allocations: 4 kB / 353.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.005896, allocations: 0 / 353.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005897, allocations: 0 / 353.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005897, allocations: 64 / 353.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.006043, allocations: 211.9 kB / 353.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.006067, allocations: 19.84 kB / 353.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.006077, allocations: 4.031 kB / 353.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.003e-05/0.006107, allocations: 0 / 353.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.006121, allocations: 11.94 kB / 353.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.006123, allocations: 0 / 353.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.351e-05/0.006166, allocations: 135.2 kB / 353.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006166, allocations: 3.938 kB / 353.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.006308, allocations: 19.95 kB / 353.6 MB, free: 11.01 MB / 282.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 9.074e-05/0.006398, allocations: 99.23 kB / 353.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.48e-05/0.006473, allocations: 19.69 kB / 353.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006474, allocations: 4 kB / 353.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.006493, allocations: 23.61 kB / 353.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.006696, allocations: 15.98 kB / 353.8 MB, free: 10.83 MB / 282.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.0006889/0.007385, allocations: 266.3 kB / 354 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.007421, allocations: 59.34 kB / 354.1 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.517e-05/0.007447, allocations: 8 kB / 354.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.007501, allocations: 78.19 kB / 354.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.007502, allocations: 4 kB / 354.2 MB, free: 10.37 MB / 282.7 MB Notification: Performance of Templates: time 0.002273/0.009774, allocations: 0.782 MB / 355 MB, free: 9.605 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Thermal.Examples.MuscleHeat.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe >> ../files/Bodylight_Bodylight.Thermal.Examples.MuscleHeat.sim & ./Bodylight_Bodylight.Thermal.Examples.MuscleHeat -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.615763469133526]