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.0009818/0.0009818, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001018/0.001018, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 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.9941/0.9941, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.06949/0.06949, allocations: 12.76 MB / 273 MB, free: 148 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.533e-06/1.533e-06, allocations: 0 / 293.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.689e-05, allocations: 4.844 kB / 293.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.MuscleHeat): time 0.002631/0.002658, allocations: 2.192 MB / 296.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003456/0.003004, allocations: 109.3 kB / 296.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.003078, allocations: 1.125 kB / 296.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.003185, allocations: 15.67 kB / 296.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.093e-05/0.003266, allocations: 45.19 kB / 296.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.003399, allocations: 28.58 kB / 296.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.003551, allocations: 122.8 kB / 296.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.00365, allocations: 25.31 kB / 296.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.403e-05/0.003734, allocations: 54.47 kB / 296.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.362e-05/0.003828, allocations: 29.52 kB / 296.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.003851, allocations: 6.688 kB / 296.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.003867, allocations: 5.875 kB / 296.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.003888, allocations: 20.81 kB / 296.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.003924, allocations: 33.97 kB / 296.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.004058, allocations: 65.7 kB / 296.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.00406, allocations: 0 / 296.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004061, allocations: 0.5156 kB / 296.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.004066, allocations: 0 / 296.6 MB, free: 10.24 MB / 266.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.0003502/0.004416, allocations: 304.3 kB / 296.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.004449, allocations: 13.83 kB / 296.9 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.004488, allocations: 11.03 kB / 296.9 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.004621, allocations: 139.7 kB / 297.1 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.00463, allocations: 2.562 kB / 297.1 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.004652, allocations: 8.594 kB / 297.1 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.952e-05/0.004741, allocations: 56.97 kB / 297.1 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.004751, allocations: 192 / 297.1 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.00476, allocations: 5.906 kB / 297.1 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.004767, allocations: 1.844 kB / 297.1 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.308e-05/0.0048, allocations: 21.33 kB / 297.2 MB, free: 9.766 MB / 266.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.000318/0.005118, allocations: 220.6 kB / 297.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.925e-05/0.005218, allocations: 40.59 kB / 297.4 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.005242, allocations: 16.8 kB / 297.4 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.005253, allocations: 1.844 kB / 297.4 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.005274, allocations: 31.84 kB / 297.5 MB, free: 9.512 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.005275, allocations: 0 / 297.5 MB, free: 9.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001321/0.005407, allocations: 57.61 kB / 297.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.005431, allocations: 52.38 kB / 297.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.005497, allocations: 122.2 kB / 297.7 MB, free: 9.301 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.005504, allocations: 27.02 kB / 297.7 MB, free: 9.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.005534, allocations: 112 kB / 297.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.005554, allocations: 10.66 kB / 297.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.005583, allocations: 27.73 kB / 297.9 MB, free: 9.129 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.597e-05/0.005619, allocations: 320 kB / 298.2 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.00563, allocations: 3.922 kB / 298.2 MB, free: 8.812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.138e-05/0.005641, allocations: 3.812 kB / 298.2 MB, free: 8.812 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.898e-05/0.00569, allocations: 33.55 kB / 298.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.005693, allocations: 3.938 kB / 298.2 MB, free: 8.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.777e-05/0.005751, allocations: 51.23 kB / 298.3 MB, free: 8.758 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.005764, allocations: 4.812 kB / 298.3 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.00577, allocations: 8.641 kB / 298.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.005786, allocations: 1.094 kB / 298.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.005853, allocations: 9.531 kB / 298.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.005857, allocations: 0.5469 kB / 298.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.005878, allocations: 8.891 kB / 298.3 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.005882, allocations: 1.859 kB / 298.3 MB, free: 8.742 MB / 266.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 9.557e-05/0.005978, allocations: 117.6 kB / 298.4 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.005996, allocations: 8.906 kB / 298.4 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.006026, allocations: 15.81 kB / 298.4 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.006029, allocations: 5.125 kB / 298.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.006031, allocations: 0.75 kB / 298.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006034, allocations: 0 / 298.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.006145, allocations: 84.97 kB / 298.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.006147, allocations: 1.219 kB / 298.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.006197, allocations: 8.062 kB / 298.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.006198, allocations: 3.938 kB / 298.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.006209, allocations: 1.031 kB / 298.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.00621, allocations: 1.328 kB / 298.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.006212, allocations: 1.062 kB / 298.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.00632, allocations: 155.8 kB / 298.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.00634, allocations: 16.84 kB / 298.7 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.006352, allocations: 4.516 kB / 298.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.137e-05/0.006383, allocations: 1 kB / 298.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.006395, allocations: 2.953 kB / 298.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.006398, allocations: 1 kB / 298.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.434e-05/0.006422, allocations: 25.64 kB / 298.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006422, allocations: 1.125 kB / 298.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001313/0.006553, allocations: 15.88 kB / 298.8 MB, free: 8.352 MB / 266.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 7.323e-05/0.006627, allocations: 75.94 kB / 298.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.658e-05/0.006693, allocations: 25.72 kB / 298.9 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.006696, allocations: 0 / 298.9 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.006712, allocations: 18.05 kB / 298.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.006872, allocations: 17.38 kB / 298.9 MB, free: 8.246 MB / 266.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.0007064/0.007578, allocations: 273.5 kB / 299.2 MB, free: 8.043 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.554e-05/0.007604, allocations: 60.91 kB / 299.2 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.143e-05/0.007635, allocations: 4.359 kB / 299.2 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.007681, allocations: 66.77 kB / 299.3 MB, free: 7.918 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.007682, allocations: 0 / 299.3 MB, free: 7.918 MB / 266.7 MB Notification: Performance of Templates: time 0.002672/0.01035, allocations: 0.7801 MB / 300.1 MB, free: 7.805 MB / 266.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.660529918037355]