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.1046/0.1046, allocations: 15.28 MB / 30.51 MB, free: 4.355 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.001059/0.001058, allocations: 111 kB / 35.49 MB, free: 3.398 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.001351/0.001351, allocations: 196.5 kB / 40.59 MB, free: 7.469 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.41/1.41, allocations: 222.9 MB / 268.4 MB, free: 7.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.132/0.132, allocations: 23.36 MB / 346.1 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 111.8 kB / 417.7 MB, free: 30.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1176, allocations: 59.38 MB / 477 MB, free: 3.328 MB / 334.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.02862/0.1463, allocations: 20.86 MB / 497.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1473, allocations: 0.4987 MB / 498.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1474, allocations: 8 kB / 498.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.1476, allocations: 11.86 kB / 498.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.1477, allocations: 55.55 kB / 498.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.1478, allocations: 11.98 kB / 498.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.148, allocations: 155 kB / 498.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1481, allocations: 41.45 kB / 498.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.236e-05/0.1482, allocations: 47.8 kB / 498.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.126e-05/0.1483, allocations: 55.72 kB / 498.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1483, allocations: 8 kB / 498.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.113e-05/0.1483, allocations: 8 kB / 498.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.1484, allocations: 23.86 kB / 498.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/0.1484, allocations: 63.61 kB / 498.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1486, allocations: 119.5 kB / 499 MB, free: 13.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1486, allocations: 4 kB / 499 MB, free: 13.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1486, allocations: 0 / 499 MB, free: 13.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1486, allocations: 0 / 499 MB, free: 13.49 MB / 366.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.0004903/0.1491, allocations: 438.8 kB / 499.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1492, allocations: 8.031 kB / 499.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.1492, allocations: 12.84 kB / 499.4 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1494, allocations: 223.9 kB / 499.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1494, allocations: 8.375 kB / 499.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.1495, allocations: 4.375 kB / 499.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1496, allocations: 77.92 kB / 499.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1496, allocations: 0 / 499.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1496, allocations: 8 kB / 499.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1496, allocations: 4 kB / 499.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.374e-05/0.1497, allocations: 39.92 kB / 499.8 MB, free: 12.59 MB / 366.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.0005238/0.1502, allocations: 483.3 kB / 0.4885 GB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.1504, allocations: 62.5 kB / 0.4886 GB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.1504, allocations: 24.98 kB / 0.4886 GB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.1504, allocations: 3.984 kB / 0.4886 GB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1505, allocations: 34.56 kB / 0.4887 GB, free: 11.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1505, allocations: 0 / 0.4887 GB, free: 11.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001893/0.1507, allocations: 89.62 kB / 0.4888 GB, free: 11.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.1507, allocations: 55.34 kB / 0.4888 GB, free: 11.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.1508, allocations: 183.8 kB / 0.489 GB, free: 11.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.1509, allocations: 29.7 kB / 0.489 GB, free: 11.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.1509, allocations: 108 kB / 0.4891 GB, free: 11.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.151, allocations: 19.89 kB / 0.4891 GB, free: 11.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.151, allocations: 25.66 kB / 0.4892 GB, free: 11.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1511, allocations: 326.8 kB / 0.4895 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-05/0.1512, allocations: 11.94 kB / 0.4895 GB, free: 11.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.1512, allocations: 16.06 kB / 0.4895 GB, free: 11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.1515, allocations: 72.83 kB / 0.4896 GB, free: 10.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1515, allocations: 0 / 0.4896 GB, free: 10.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001061/0.1516, allocations: 81.44 kB / 0.4896 GB, free: 10.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1516, allocations: 4 kB / 0.4896 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1516, allocations: 0 / 0.4896 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1516, allocations: 4 kB / 0.4896 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.1517, allocations: 12 kB / 0.4897 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1517, allocations: 3.938 kB / 0.4897 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.1518, allocations: 4 kB / 0.4897 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1518, allocations: 0 / 0.4897 GB, free: 10.82 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.1519, allocations: 122.4 kB / 0.4898 GB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.152, allocations: 15.81 kB / 0.4898 GB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.608e-05/0.152, allocations: 17 kB / 0.4898 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.152, allocations: 0 / 0.4898 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1521, allocations: 3.938 kB / 0.4898 GB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1521, allocations: 0 / 0.4898 GB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.1523, allocations: 209.6 kB / 0.49 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1523, allocations: 192 / 0.49 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/0.1524, allocations: 11.94 kB / 0.49 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1524, allocations: 4 kB / 0.49 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1524, allocations: 0 / 0.49 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1524, allocations: 0 / 0.49 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1524, allocations: 3.938 kB / 0.49 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.1526, allocations: 191.3 kB / 0.4902 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.1527, allocations: 93.05 kB / 0.4903 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1527, allocations: 0 / 0.4903 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.1528, allocations: 4 kB / 0.4903 GB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.1528, allocations: 11.92 kB / 0.4903 GB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1528, allocations: 0 / 0.4903 GB, free: 10.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.87e-05/0.1529, allocations: 128.4 kB / 0.4904 GB, free: 9.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.232e-06/0.1529, allocations: 0 / 0.4904 GB, free: 9.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.1532, allocations: 31.84 kB / 0.4905 GB, free: 9.895 MB / 366.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 8.22e-05/0.1532, allocations: 99.17 kB / 0.4906 GB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.1534, allocations: 32 kB / 0.4906 GB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1534, allocations: 3.938 kB / 0.4906 GB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.102e-05/0.1534, allocations: 23.92 kB / 0.4906 GB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.1538, allocations: 75.62 kB / 0.4907 GB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.1544, allocations: 335.9 kB / 0.491 GB, free: 9.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1546, allocations: 0.7084 MB / 0.4917 GB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.923e-05/0.1547, allocations: 21.06 kB / 0.4917 GB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.1547, allocations: 15.38 kB / 0.4917 GB, free: 8.523 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1547, allocations: 0 / 0.4917 GB, free: 8.523 MB / 366.1 MB Notification: Performance of Templates: time 0.003795/0.1585, allocations: 1.734 MB / 0.4934 GB, free: 6.824 MB / 366.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)