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/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/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/package.mo): time 0.09941/0.09941, allocations: 15.29 MB / 31.59 MB, free: 4.121 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.001019/0.001019, allocations: 108.8 kB / 36.59 MB, free: 3.184 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.001294/0.001293, allocations: 193.1 kB / 41.69 MB, free: 7.129 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.437/1.437, allocations: 222.9 MB / 269.5 MB, free: 6.859 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1457/0.1457, allocations: 23.36 MB / 347.2 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002255, allocations: 119.8 kB / 479.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4106, allocations: 59.35 MB / 0.5262 GB, free: 8.105 MB / 382.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.03555/0.4462, allocations: 21.84 MB / 0.5476 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.4474, allocations: 477.7 kB / 0.548 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.4475, allocations: 3.938 kB / 0.548 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.4477, allocations: 22.8 kB / 0.548 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.4478, allocations: 60 kB / 0.5481 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.4479, allocations: 18.05 kB / 0.5481 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.4481, allocations: 149.7 kB / 0.5483 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.4483, allocations: 44.8 kB / 0.5483 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.915e-05/0.4483, allocations: 52.02 kB / 0.5484 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.4484, allocations: 50.41 kB / 0.5484 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.4485, allocations: 8 kB / 0.5484 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.642e-05/0.4485, allocations: 8 kB / 0.5484 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.4485, allocations: 18.61 kB / 0.5484 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.445e-05/0.4486, allocations: 64.06 kB / 0.5485 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.4488, allocations: 131.7 kB / 0.5486 GB, free: 12.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4489, allocations: 0 / 0.5486 GB, free: 12.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4489, allocations: 0 / 0.5486 GB, free: 12.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.4489, allocations: 0 / 0.5486 GB, free: 12.4 MB / 398.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.0005905/0.4495, allocations: 434.8 kB / 0.549 GB, free: 11.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.4495, allocations: 16.73 kB / 0.5491 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.4496, allocations: 12.84 kB / 0.5491 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.4499, allocations: 227 kB / 0.5493 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.4499, allocations: 4.375 kB / 0.5493 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.4499, allocations: 8.375 kB / 0.5493 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.4501, allocations: 69.98 kB / 0.5494 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4501, allocations: 7.938 kB / 0.5494 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4501, allocations: 4 kB / 0.5494 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.4501, allocations: 4 kB / 0.5494 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.637e-05/0.4502, allocations: 40.34 kB / 0.5494 GB, free: 11.54 MB / 398.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.0006407/0.4509, allocations: 479.4 kB / 0.5499 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.451, allocations: 62.08 kB / 0.5499 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.505e-05/0.451, allocations: 30.44 kB / 0.55 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.4511, allocations: 0 / 0.55 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.4511, allocations: 31.31 kB / 0.55 GB, free: 10.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.4511, allocations: 0 / 0.55 GB, free: 10.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002171/0.4513, allocations: 85.17 kB / 0.5501 GB, free: 10.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.4514, allocations: 59.28 kB / 0.5501 GB, free: 10.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.4516, allocations: 180.6 kB / 0.5503 GB, free: 10.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.4516, allocations: 33.7 kB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.4517, allocations: 112.6 kB / 0.5504 GB, free: 10.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.4517, allocations: 21.12 kB / 0.5505 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.4517, allocations: 18.56 kB / 0.5505 GB, free: 10.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4519, allocations: 323 kB / 0.5508 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.4519, allocations: 13.41 kB / 0.5508 GB, free: 10.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.4519, allocations: 13.83 kB / 0.5508 GB, free: 10.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.4522, allocations: 71.42 kB / 0.5509 GB, free: 9.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4523, allocations: 0 / 0.5509 GB, free: 9.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001125/0.4524, allocations: 84.22 kB / 0.551 GB, free: 9.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.4524, allocations: 4 kB / 0.551 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4524, allocations: 0.6562 kB / 0.551 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4524, allocations: 3.984 kB / 0.551 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.427e-05/0.4525, allocations: 9.406 kB / 0.551 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4525, allocations: 3.938 kB / 0.551 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.4526, allocations: 7.938 kB / 0.551 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.4526, allocations: 4.797 kB / 0.551 GB, free: 9.855 MB / 398.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 = 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.0001453/0.4527, allocations: 123.7 kB / 0.5511 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.4528, allocations: 11.81 kB / 0.5511 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.4528, allocations: 15.06 kB / 0.5511 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4528, allocations: 0.7969 kB / 0.5511 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4529, allocations: 3.938 kB / 0.5511 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4529, allocations: 4 kB / 0.5511 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.4531, allocations: 203.5 kB / 0.5513 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4531, allocations: 4 kB / 0.5513 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.4532, allocations: 12.73 kB / 0.5514 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4532, allocations: 4.641 kB / 0.5514 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.4532, allocations: 0 / 0.5514 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.4532, allocations: 11.92 kB / 0.5514 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4532, allocations: 4.797 kB / 0.5514 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.4534, allocations: 187.8 kB / 0.5516 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.4535, allocations: 92.09 kB / 0.5516 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.4535, allocations: 4.062 kB / 0.5516 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.4536, allocations: 4 kB / 0.5516 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.4536, allocations: 5.438 kB / 0.5517 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.4536, allocations: 0 / 0.5517 GB, free: 9.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.4538, allocations: 135.2 kB / 0.5518 GB, free: 8.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4538, allocations: 0 / 0.5518 GB, free: 8.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.454, allocations: 20 kB / 0.5518 GB, free: 8.973 MB / 398.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 (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.326e-05/0.4541, allocations: 104.5 kB / 0.5519 GB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.4542, allocations: 34.11 kB / 0.5519 GB, free: 8.828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4542, allocations: 0 / 0.5519 GB, free: 8.828 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.177e-05/0.4543, allocations: 13.45 kB / 0.5519 GB, free: 8.816 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.4547, allocations: 59.86 kB / 0.552 GB, free: 8.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.4553, allocations: 359.2 kB / 0.5523 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.4556, allocations: 0.7112 MB / 0.553 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.4556, allocations: 11.44 kB / 0.5531 GB, free: 7.672 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4556, allocations: 0 / 0.5531 GB, free: 7.672 MB / 398.1 MB Notification: Performance of Templates: time 0.003761/0.4594, allocations: 1.742 MB / 0.5548 GB, free: 6.672 MB / 398.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)