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.08934/0.08934, allocations: 15.27 MB / 30.91 MB, free: 4.152 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.0009653/0.0009652, allocations: 113.3 kB / 35.92 MB, free: 3.18 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.001221/0.001222, allocations: 193 kB / 41.02 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.329/1.329, allocations: 222.9 MB / 268.9 MB, free: 6.961 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.126/0.126, allocations: 23.35 MB / 346.6 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 116.5 kB / 478.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2887, allocations: 59.36 MB / 0.5256 GB, free: 8.094 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.02963/0.3184, allocations: 21.9 MB / 0.547 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.3193, allocations: 477.7 kB / 0.5474 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3195, allocations: 8 kB / 0.5474 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.3196, allocations: 22.69 kB / 0.5474 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.3197, allocations: 59.77 kB / 0.5475 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.3198, allocations: 22.05 kB / 0.5475 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.32, allocations: 153.9 kB / 0.5477 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3202, allocations: 28.83 kB / 0.5477 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.3202, allocations: 55.97 kB / 0.5478 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.767e-05/0.3204, allocations: 61.83 kB / 0.5478 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.3204, allocations: 4 kB / 0.5478 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.943e-05/0.3204, allocations: 8 kB / 0.5478 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.3204, allocations: 18.75 kB / 0.5478 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.855e-05/0.3205, allocations: 63.95 kB / 0.5479 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.3207, allocations: 124.3 kB / 0.548 GB, free: 12.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3207, allocations: 4 kB / 0.548 GB, free: 12.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3207, allocations: 0 / 0.548 GB, free: 12.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3207, allocations: 0 / 0.548 GB, free: 12.36 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.0005077/0.3212, allocations: 438.6 kB / 0.5484 GB, free: 11.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3213, allocations: 12.73 kB / 0.5485 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.3213, allocations: 8.844 kB / 0.5485 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.3216, allocations: 226.8 kB / 0.5487 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.3216, allocations: 8.375 kB / 0.5487 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3216, allocations: 8.312 kB / 0.5487 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3218, allocations: 81.03 kB / 0.5488 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3218, allocations: 4.547 kB / 0.5488 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3218, allocations: 4 kB / 0.5488 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3218, allocations: 4 kB / 0.5488 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.3219, allocations: 40.09 kB / 0.5488 GB, free: 11.5 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.0005487/0.3224, allocations: 483.7 kB / 0.5493 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.3226, allocations: 61.58 kB / 0.5493 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/0.3226, allocations: 27.05 kB / 0.5494 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.3226, allocations: 7.938 kB / 0.5494 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.3226, allocations: 31.41 kB / 0.5494 GB, free: 10.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3227, allocations: 0 / 0.5494 GB, free: 10.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001821/0.3228, allocations: 81.08 kB / 0.5495 GB, free: 10.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3229, allocations: 55.34 kB / 0.5495 GB, free: 10.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.323, allocations: 188.2 kB / 0.5497 GB, free: 10.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3231, allocations: 29.7 kB / 0.5497 GB, free: 10.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.3231, allocations: 108.3 kB / 0.5498 GB, free: 10.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.3232, allocations: 25.25 kB / 0.5499 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3232, allocations: 18.98 kB / 0.5499 GB, free: 10.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.3233, allocations: 323.8 kB / 0.5502 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/0.3233, allocations: 12.66 kB / 0.5502 GB, free: 10.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.172e-05/0.3234, allocations: 12.69 kB / 0.5502 GB, free: 9.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.3236, allocations: 76.27 kB / 0.5503 GB, free: 9.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3236, allocations: 0 / 0.5503 GB, free: 9.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000105/0.3237, allocations: 72.38 kB / 0.5504 GB, free: 9.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3238, allocations: 8 kB / 0.5504 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3238, allocations: 0 / 0.5504 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3238, allocations: 0.6562 kB / 0.5504 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.049e-05/0.3239, allocations: 12.69 kB / 0.5504 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3239, allocations: 8.641 kB / 0.5504 GB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.3239, allocations: 4 kB / 0.5504 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.3239, allocations: 4 kB / 0.5504 GB, free: 9.816 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.0001163/0.3241, allocations: 124.1 kB / 0.5505 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.3241, allocations: 16.56 kB / 0.5505 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.3241, allocations: 19.06 kB / 0.5506 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3241, allocations: 4 kB / 0.5506 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3242, allocations: 3.938 kB / 0.5506 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3242, allocations: 4.797 kB / 0.5506 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.3244, allocations: 207 kB / 0.5508 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3244, allocations: 0 / 0.5508 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.684e-05/0.3244, allocations: 9.5 kB / 0.5508 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3244, allocations: 0 / 0.5508 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3245, allocations: 0 / 0.5508 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3245, allocations: 0 / 0.5508 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3245, allocations: 4.688 kB / 0.5508 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.3247, allocations: 192.5 kB / 0.551 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.3247, allocations: 91.3 kB / 0.551 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3247, allocations: 0 / 0.551 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.3248, allocations: 0.75 kB / 0.551 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.3248, allocations: 12.64 kB / 0.5511 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3249, allocations: 0.75 kB / 0.5511 GB, free: 9.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.417e-05/0.325, allocations: 135.1 kB / 0.5512 GB, free: 8.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.325, allocations: 0 / 0.5512 GB, free: 8.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.3252, allocations: 23.94 kB / 0.5512 GB, free: 8.934 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 7.601e-05/0.3253, allocations: 95.91 kB / 0.5513 GB, free: 8.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.3254, allocations: 38.61 kB / 0.5513 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3254, allocations: 0 / 0.5513 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.625e-05/0.3254, allocations: 17.31 kB / 0.5514 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.3259, allocations: 68.2 kB / 0.5514 GB, free: 8.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.3264, allocations: 322.2 kB / 0.5517 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.3266, allocations: 0.7067 MB / 0.5524 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.182e-05/0.3266, allocations: 15.38 kB / 0.5524 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.3267, allocations: 11.44 kB / 0.5524 GB, free: 7.656 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3267, allocations: 0 / 0.5524 GB, free: 7.656 MB / 398.1 MB Notification: Performance of Templates: time 0.004062/0.3307, allocations: 1.765 MB / 0.5542 GB, free: 6.637 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)