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.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1723/0.1723, allocations: 15.27 MB / 30.25 MB, free: 6.219 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009259/0.0009259, allocations: 99.2 kB / 35.25 MB, free: 1.352 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 180.5 kB / 40.36 MB, free: 4.973 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.3 MB / 268.6 MB, free: 2.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1548/0.1548, allocations: 23.39 MB / 347.3 MB, free: 6.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005334/0.0005336, allocations: 20 kB / 419.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.323, allocations: 60.47 MB / 480 MB, free: 36.51 MB / 350.1 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.002305/0.3253, allocations: 2.123 MB / 482.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007431/0.3261, allocations: 479 kB / 482.6 MB, free: 33.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.3262, allocations: 3.938 kB / 482.6 MB, free: 33.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.3264, allocations: 23.84 kB / 482.7 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.3266, allocations: 71.39 kB / 482.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.3267, allocations: 19.98 kB / 482.7 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.3269, allocations: 143.1 kB / 482.9 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.327, allocations: 25.47 kB / 482.9 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.797e-05/0.3271, allocations: 39.81 kB / 483 MB, free: 33.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.301e-05/0.3272, allocations: 51.72 kB / 483 MB, free: 33.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.3272, allocations: 4 kB / 483 MB, free: 33.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.3e-05/0.3272, allocations: 4 kB / 483 MB, free: 33.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.3273, allocations: 19.86 kB / 483 MB, free: 33.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.3273, allocations: 53.64 kB / 483.1 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.3274, allocations: 86.31 kB / 483.2 MB, free: 33.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3274, allocations: 0 / 483.2 MB, free: 33.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3274, allocations: 0 / 483.2 MB, free: 33.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3274, allocations: 0 / 483.2 MB, free: 33.36 MB / 350.1 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.0004435/0.3279, allocations: 410.8 kB / 483.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3279, allocations: 12.03 kB / 483.6 MB, free: 32.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.328, allocations: 19.75 kB / 483.6 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.3282, allocations: 222.7 kB / 483.8 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3282, allocations: 4 kB / 483.8 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.3283, allocations: 8 kB / 483.8 MB, free: 32.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.3284, allocations: 73.27 kB / 483.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3284, allocations: 0 / 483.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3284, allocations: 4 kB / 483.9 MB, free: 32.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3285, allocations: 7.938 kB / 483.9 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.111e-05/0.3285, allocations: 31.98 kB / 483.9 MB, free: 32.49 MB / 350.1 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.0005035/0.329, allocations: 487.3 kB / 484.4 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.3292, allocations: 58.56 kB / 484.5 MB, free: 31.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.049e-05/0.3292, allocations: 24.98 kB / 484.5 MB, free: 31.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.3292, allocations: 3.938 kB / 484.5 MB, free: 31.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.3292, allocations: 34.56 kB / 484.5 MB, free: 31.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.3293, allocations: 0 / 484.5 MB, free: 31.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002055/0.3295, allocations: 89.48 kB / 484.6 MB, free: 31.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.3295, allocations: 51.41 kB / 484.7 MB, free: 31.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3296, allocations: 178.3 kB / 484.8 MB, free: 31.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.3296, allocations: 25.7 kB / 484.9 MB, free: 31.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.3297, allocations: 116 kB / 485 MB, free: 31.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.3297, allocations: 15.88 kB / 485 MB, free: 31.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.3297, allocations: 4 kB / 485 MB, free: 31.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.3298, allocations: 326.8 kB / 485.3 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.3298, allocations: 12 kB / 485.3 MB, free: 30.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.788e-05/0.3298, allocations: 8 kB / 485.3 MB, free: 30.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.788e-05/0.3299, allocations: 16 kB / 485.4 MB, free: 30.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3299, allocations: 0 / 485.4 MB, free: 30.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.924e-05/0.33, allocations: 81.44 kB / 485.4 MB, free: 30.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.33, allocations: 4 kB / 485.4 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.33, allocations: 0 / 485.4 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.33, allocations: 4 kB / 485.4 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.084e-05/0.3301, allocations: 19.88 kB / 485.5 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3301, allocations: 3.984 kB / 485.5 MB, free: 30.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.3302, allocations: 4.438 kB / 485.5 MB, free: 30.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3302, allocations: 0 / 485.5 MB, free: 30.81 MB / 350.1 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 = 4186800.0 ) "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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001879/0.3304, allocations: 133.8 kB / 485.6 MB, free: 30.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.3304, allocations: 11.81 kB / 485.6 MB, free: 30.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.3305, allocations: 16.98 kB / 485.6 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3305, allocations: 4 kB / 485.6 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3305, allocations: 7.953 kB / 485.6 MB, free: 30.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3305, allocations: 0 / 485.6 MB, free: 30.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.3307, allocations: 201.6 kB / 485.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3307, allocations: 0 / 485.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.3308, allocations: 19.92 kB / 485.9 MB, free: 30.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3308, allocations: 0 / 485.9 MB, free: 30.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3308, allocations: 0 / 485.9 MB, free: 30.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3308, allocations: 4 kB / 485.9 MB, free: 30.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3308, allocations: 0 / 485.9 MB, free: 30.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.3309, allocations: 191.2 kB / 486.1 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.331, allocations: 100.9 kB / 486.2 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.331, allocations: 0 / 486.2 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.3311, allocations: 4 kB / 486.2 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.3311, allocations: 0 / 486.2 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.3311, allocations: 0 / 486.2 MB, free: 30.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.232e-05/0.3312, allocations: 135.2 kB / 486.3 MB, free: 29.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3312, allocations: 0 / 486.3 MB, free: 29.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.3315, allocations: 32.02 kB / 486.3 MB, free: 29.87 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.482e-05/0.3315, allocations: 91.19 kB / 486.4 MB, free: 29.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.3316, allocations: 35.98 kB / 486.4 MB, free: 29.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3317, allocations: 0 / 486.4 MB, free: 29.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.3317, allocations: 16 kB / 486.5 MB, free: 29.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.3321, allocations: 57.95 kB / 486.5 MB, free: 29.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.3327, allocations: 377.9 kB / 486.9 MB, free: 29.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.3328, allocations: 0.7048 MB / 487.6 MB, free: 28.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.546e-05/0.3329, allocations: 17.06 kB / 487.6 MB, free: 28.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.3329, allocations: 11.44 kB / 487.6 MB, free: 28.51 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3329, allocations: 0 / 487.6 MB, free: 28.51 MB / 350.1 MB Notification: Performance of Templates: time 0.003924/0.3369, allocations: 1.605 MB / 489.2 MB, free: 26.94 MB / 350.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.makefile (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)