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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09726/0.09726, allocations: 15.52 MB / 33.61 MB, free: 3.117 MB / 26.18 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 113.8 kB / 41.05 MB, free: 0.5195 MB / 26.18 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 196.4 kB / 48.61 MB, free: 1.68 MB / 34.91 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 281.6 MB, free: 4.188 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1494/0.1494, allocations: 23.71 MB / 364.8 MB, free: 6.82 MB / 270.1 MB [Timeout remaining time 90] 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=500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.003295/0.003295, allocations: 120.2 kB / 0.4947 GB, free: 42.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09591, allocations: 62.63 MB / 0.5559 GB, free: 13.97 MB / 398.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.0366/0.1325, allocations: 22.67 MB / 0.578 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1336, allocations: 494.7 kB / 0.5785 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.1338, allocations: 3.938 kB / 0.5785 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.1339, allocations: 23.73 kB / 0.5785 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1341, allocations: 63.48 kB / 0.5786 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.1342, allocations: 15.97 kB / 0.5786 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.1344, allocations: 155.1 kB / 0.5787 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1345, allocations: 25.48 kB / 0.5788 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.027e-05/0.1346, allocations: 51.73 kB / 0.5788 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1347, allocations: 55.72 kB / 0.5789 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.1347, allocations: 8 kB / 0.5789 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.671e-05/0.1348, allocations: 8 kB / 0.5789 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.1348, allocations: 11.92 kB / 0.5789 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1349, allocations: 67.67 kB / 0.579 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.1351, allocations: 131.4 kB / 0.5791 GB, free: 6.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1351, allocations: 0 / 0.5791 GB, free: 6.262 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1351, allocations: 0 / 0.5791 GB, free: 6.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1351, allocations: 0 / 0.5791 GB, free: 6.262 MB / 414.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.000615/0.1357, allocations: 438.8 kB / 0.5795 GB, free: 5.785 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1358, allocations: 8.031 kB / 0.5795 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.1358, allocations: 16.84 kB / 0.5795 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1361, allocations: 248 kB / 0.5798 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.1361, allocations: 384 / 0.5798 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.1362, allocations: 8.375 kB / 0.5798 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1363, allocations: 77.98 kB / 0.5798 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1363, allocations: 0 / 0.5798 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1363, allocations: 3.938 kB / 0.5798 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1364, allocations: 0 / 0.5798 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.566e-05/0.1364, allocations: 35.98 kB / 0.5799 GB, free: 5.352 MB / 414.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.0006743/0.1371, allocations: 483.3 kB / 0.5803 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1373, allocations: 58.5 kB / 0.5804 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.1373, allocations: 20.98 kB / 0.5804 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.1373, allocations: 0 / 0.5804 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1373, allocations: 38.56 kB / 0.5805 GB, free: 4.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 5.21e-06/0.1373, allocations: 0 / 0.5805 GB, free: 4.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002307/0.1376, allocations: 85.53 kB / 0.5805 GB, free: 4.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1376, allocations: 55.34 kB / 0.5806 GB, free: 4.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1378, allocations: 182.3 kB / 0.5808 GB, free: 4.324 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1378, allocations: 25.7 kB / 0.5808 GB, free: 4.293 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.1379, allocations: 120.2 kB / 0.5809 GB, free: 4.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.1379, allocations: 15.89 kB / 0.5809 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.138, allocations: 25.67 kB / 0.5809 GB, free: 4.125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1381, allocations: 322.8 kB / 0.5812 GB, free: 3.801 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.1381, allocations: 8 kB / 0.5813 GB, free: 3.793 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.513e-05/0.1382, allocations: 15.98 kB / 0.5813 GB, free: 3.777 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.1385, allocations: 68.78 kB / 0.5813 GB, free: 3.707 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1385, allocations: 4 kB / 0.5813 GB, free: 3.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001322/0.1386, allocations: 73.95 kB / 0.5814 GB, free: 3.625 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1386, allocations: 14.97 kB / 0.5814 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1386, allocations: 0 / 0.5814 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1386, allocations: 0 / 0.5814 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.1387, allocations: 16.05 kB / 0.5814 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1387, allocations: 3.938 kB / 0.5814 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.1388, allocations: 11.89 kB / 0.5815 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1388, allocations: 4 kB / 0.5815 GB, free: 3.578 MB / 414.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.0001519/0.1389, allocations: 122.4 kB / 0.5816 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.139, allocations: 19.91 kB / 0.5816 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.981e-05/0.139, allocations: 20.98 kB / 0.5816 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.139, allocations: 0 / 0.5816 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1391, allocations: 3.938 kB / 0.5816 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1391, allocations: 0 / 0.5816 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.1393, allocations: 205.6 kB / 0.5818 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1393, allocations: 3.938 kB / 0.5818 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.1394, allocations: 15.92 kB / 0.5818 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1394, allocations: 0 / 0.5818 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.1394, allocations: 0 / 0.5818 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1394, allocations: 4 kB / 0.5818 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1394, allocations: 7.922 kB / 0.5818 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.1396, allocations: 183.5 kB / 0.582 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.1397, allocations: 97.03 kB / 0.5821 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1397, allocations: 0 / 0.5821 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.1398, allocations: 0 / 0.5821 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.1399, allocations: 7.938 kB / 0.5821 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.1399, allocations: 4 kB / 0.5821 GB, free: 2.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.14, allocations: 132.5 kB / 0.5822 GB, free: 2.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.14, allocations: 0 / 0.5822 GB, free: 2.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1402, allocations: 28 kB / 0.5823 GB, free: 2.648 MB / 414.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.903e-05/0.1403, allocations: 91.19 kB / 0.5824 GB, free: 2.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.1404, allocations: 40.05 kB / 0.5824 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1404, allocations: 0 / 0.5824 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.898e-05/0.1405, allocations: 12 kB / 0.5824 GB, free: 2.496 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.1409, allocations: 59.64 kB / 0.5825 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.1415, allocations: 353.2 kB / 0.5828 GB, free: 2.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1419, allocations: 0.7045 MB / 0.5835 GB, free: 1.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.1419, allocations: 11.44 kB / 0.5835 GB, free: 1.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1419, allocations: 4 kB / 0.5835 GB, free: 1.316 MB / 414.1 MB Notification: Performance of Templates: time 0.003587/0.1455, allocations: 1.758 MB / 0.5852 GB, free: 15.57 MB / 430.1 MB [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.makefile [Timeout 660] (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) [Timeout 480]