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.001093/0.001093, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.001204/0.001204, allocations: 173.9 kB / 23.21 MB, free: 1.328 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 1.024/1.024, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.06396/0.06396, allocations: 12.74 MB / 272.7 MB, free: 0.5 MB / 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.753e-06/1.753e-06, allocations: 0 / 403.1 MB, free: 8.926 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.623e-05, allocations: 2.281 kB / 403.1 MB, free: 8.922 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.MuscleHeat): time 0.00236/0.002386, allocations: 2.087 MB / 405.2 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003209/0.002707, allocations: 99.66 kB / 405.2 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.002776, allocations: 7.938 kB / 405.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.628e-05/0.002872, allocations: 11.86 kB / 405.3 MB, free: 6.711 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.598e-05/0.002938, allocations: 47.61 kB / 405.3 MB, free: 6.664 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.003068, allocations: 23.97 kB / 405.3 MB, free: 6.641 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.003221, allocations: 123.2 kB / 405.5 MB, free: 6.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.003343, allocations: 23.97 kB / 405.5 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.003407, allocations: 55.89 kB / 405.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.003486, allocations: 27.92 kB / 405.6 MB, free: 6.414 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.003508, allocations: 4 kB / 405.6 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.003523, allocations: 8 kB / 405.6 MB, free: 6.402 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.003546, allocations: 19.91 kB / 405.6 MB, free: 6.383 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.003582, allocations: 35.92 kB / 405.6 MB, free: 6.348 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.003708, allocations: 91.7 kB / 405.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.00371, allocations: 0 / 405.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.003711, allocations: 0 / 405.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.003715, allocations: 0 / 405.7 MB, free: 6.258 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.0003288/0.004043, allocations: 325.9 kB / 406 MB, free: 5.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.004076, allocations: 11.98 kB / 406 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.004106, allocations: 12.84 kB / 406.1 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.004255, allocations: 141.6 kB / 406.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.004264, allocations: 8.375 kB / 406.2 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.00428, allocations: 4.375 kB / 406.2 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.004385, allocations: 70.23 kB / 406.3 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.004391, allocations: 192 / 406.3 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.004398, allocations: 4.375 kB / 406.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.004402, allocations: 4.375 kB / 406.3 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.245e-05/0.004464, allocations: 39.92 kB / 406.3 MB, free: 5.586 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.0003751/0.00484, allocations: 296.2 kB / 406.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.77e-05/0.004937, allocations: 54.5 kB / 406.7 MB, free: 5.203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.004972, allocations: 24.97 kB / 406.7 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.004984, allocations: 7.938 kB / 406.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.005003, allocations: 30.56 kB / 406.7 MB, free: 5.129 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.005004, allocations: 0 / 406.7 MB, free: 5.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001593/0.005163, allocations: 77.64 kB / 406.8 MB, free: 5.047 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.005189, allocations: 51.41 kB / 406.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.005262, allocations: 124.3 kB / 407 MB, free: 4.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.005272, allocations: 33.64 kB / 407 MB, free: 4.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.005313, allocations: 108.2 kB / 407.1 MB, free: 4.707 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.005332, allocations: 15.89 kB / 407.1 MB, free: 4.691 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.005358, allocations: 21.67 kB / 407.2 MB, free: 4.664 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.321e-05/0.005431, allocations: 330.8 kB / 407.5 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.00545, allocations: 8 kB / 407.5 MB, free: 4.324 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.005467, allocations: 12 kB / 407.5 MB, free: 4.312 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.005662, allocations: 65.2 kB / 407.6 MB, free: 4.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005664, allocations: 4 kB / 407.6 MB, free: 4.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.017e-05/0.005744, allocations: 77.62 kB / 407.6 MB, free: 4.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.005757, allocations: 8 kB / 407.6 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.005761, allocations: 0 / 407.6 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.005773, allocations: 3.984 kB / 407.7 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.662e-05/0.00582, allocations: 8 kB / 407.7 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.005824, allocations: 0 / 407.7 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.005841, allocations: 3.953 kB / 407.7 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.005846, allocations: 4 kB / 407.7 MB, free: 4.133 MB / 330.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.882e-05/0.005945, allocations: 125.7 kB / 407.8 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.005963, allocations: 15.94 kB / 407.8 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.005988, allocations: 12.12 kB / 407.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005989, allocations: 0 / 407.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.005993, allocations: 4 kB / 407.8 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005995, allocations: 0 / 407.8 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.006102, allocations: 133.2 kB / 408 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006103, allocations: 0 / 408 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.00615, allocations: 8 kB / 408 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.006152, allocations: 0 / 408 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.006158, allocations: 0 / 408 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.006159, allocations: 0 / 408 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00616, allocations: 7.938 kB / 408 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.006303, allocations: 187.4 kB / 408.2 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.006323, allocations: 11.98 kB / 408.2 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.006333, allocations: 0 / 408.2 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.006365, allocations: 128 / 408.2 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.006381, allocations: 11.98 kB / 408.2 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.006383, allocations: 0 / 408.2 MB, free: 3.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.682e-05/0.00642, allocations: 99.27 kB / 408.3 MB, free: 3.473 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00642, allocations: 0 / 408.3 MB, free: 3.473 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001441/0.006564, allocations: 16 kB / 408.3 MB, free: 3.457 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 6.423e-05/0.006628, allocations: 99.25 kB / 408.4 MB, free: 3.352 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.962e-05/0.006708, allocations: 39.86 kB / 408.4 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006709, allocations: 0 / 408.4 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.999e-05/0.006729, allocations: 16 kB / 408.4 MB, free: 3.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.006934, allocations: 23.83 kB / 408.5 MB, free: 3.273 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.007304, allocations: 258.7 kB / 408.7 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.809e-05/0.007352, allocations: 79.33 kB / 408.8 MB, free: 2.891 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.007376, allocations: 8.5 kB / 408.8 MB, free: 2.883 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.007377, allocations: 0 / 408.8 MB, free: 2.883 MB / 330.7 MB Notification: Performance of Templates: time 0.001776/0.009153, allocations: 1.116 MB / 409.9 MB, free: 1.77 MB / 330.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 > Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.631298574153334]