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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09473/0.09473, allocations: 15.52 MB / 32.54 MB, free: 3.949 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 109.4 kB / 39.79 MB, free: 1.16 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 210.3 kB / 47.14 MB, free: 2.527 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 279.9 MB, free: 15.36 MB / 222.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1429/0.1429, allocations: 23.72 MB / 362.9 MB, free: 0.7969 MB / 270.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003269/0.003269, allocations: 115.8 kB / 0.4919 GB, free: 24.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.1018, allocations: 62.63 MB / 0.5531 GB, free: 9.902 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.03488/0.1367, allocations: 22.82 MB / 0.5754 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1378, allocations: 486.8 kB / 0.5759 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.825e-05/0.1379, allocations: 3.938 kB / 0.5759 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.138, allocations: 31.72 kB / 0.5759 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.1381, allocations: 59.55 kB / 0.5759 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.1383, allocations: 15.92 kB / 0.576 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.1385, allocations: 155.1 kB / 0.5761 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1386, allocations: 33.41 kB / 0.5761 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.1387, allocations: 51.73 kB / 0.5762 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1388, allocations: 51.72 kB / 0.5762 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.1388, allocations: 8 kB / 0.5762 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.591e-05/0.1388, allocations: 8 kB / 0.5763 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.1388, allocations: 15.94 kB / 0.5763 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.717e-05/0.1389, allocations: 63.67 kB / 0.5763 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.1391, allocations: 119.5 kB / 0.5764 GB, free: 2.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1391, allocations: 4 kB / 0.5764 GB, free: 2.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1391, allocations: 4 kB / 0.5765 GB, free: 2.074 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1391, allocations: 0 / 0.5765 GB, free: 2.074 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.0005951/0.1397, allocations: 438.6 kB / 0.5769 GB, free: 1.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1398, allocations: 8.031 kB / 0.5769 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.1398, allocations: 16.84 kB / 0.5769 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1401, allocations: 232.1 kB / 0.5771 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1401, allocations: 4.375 kB / 0.5771 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.1401, allocations: 8.375 kB / 0.5771 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1403, allocations: 81.58 kB / 0.5772 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1403, allocations: 0 / 0.5772 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1403, allocations: 7.938 kB / 0.5772 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1403, allocations: 0 / 0.5772 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.553e-05/0.1404, allocations: 35.98 kB / 0.5772 GB, free: 1.172 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.0006563/0.1411, allocations: 487.3 kB / 0.5777 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1412, allocations: 50.56 kB / 0.5778 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.1412, allocations: 20.98 kB / 0.5778 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.1413, allocations: 0 / 0.5778 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1413, allocations: 46.48 kB / 0.5778 GB, free: 496 kB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.1413, allocations: 0 / 0.5778 GB, free: 496 kB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002229/0.1415, allocations: 81.59 kB / 0.5779 GB, free: 408 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.1416, allocations: 59.33 kB / 0.578 GB, free: 336 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1417, allocations: 182.3 kB / 0.5781 GB, free: 144 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1418, allocations: 25.7 kB / 0.5782 GB, free: 112 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/0.1419, allocations: 120.2 kB / 0.5783 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.1419, allocations: 11.89 kB / 0.5783 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.1419, allocations: 25.61 kB / 0.5783 GB, free: 15.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1421, allocations: 326.8 kB / 0.5786 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.475e-05/0.1421, allocations: 15.98 kB / 0.5786 GB, free: 15.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.1421, allocations: 12.31 kB / 0.5786 GB, free: 15.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.1424, allocations: 76.77 kB / 0.5787 GB, free: 15.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1424, allocations: 0 / 0.5787 GB, free: 15.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001243/0.1426, allocations: 73.66 kB / 0.5788 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1426, allocations: 11.98 kB / 0.5788 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.1426, allocations: 0 / 0.5788 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1426, allocations: 0 / 0.5788 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.1427, allocations: 8 kB / 0.5788 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1427, allocations: 7.875 kB / 0.5788 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.1427, allocations: 7.891 kB / 0.5788 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.1427, allocations: 4 kB / 0.5788 GB, free: 15.39 MB / 430.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.0001597/0.1429, allocations: 127.5 kB / 0.579 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.1429, allocations: 19.89 kB / 0.579 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.143, allocations: 13 kB / 0.579 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.143, allocations: 0 / 0.579 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.143, allocations: 3.938 kB / 0.579 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.143, allocations: 0 / 0.579 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.1432, allocations: 205.6 kB / 0.5792 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1432, allocations: 3.938 kB / 0.5792 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.43e-05/0.1433, allocations: 8 kB / 0.5792 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1433, allocations: 0 / 0.5792 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.1433, allocations: 0 / 0.5792 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1433, allocations: 4 kB / 0.5792 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1433, allocations: 8 kB / 0.5792 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1435, allocations: 195.4 kB / 0.5794 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.1436, allocations: 97.03 kB / 0.5795 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1436, allocations: 0 / 0.5795 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.1437, allocations: 0 / 0.5795 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.1437, allocations: 11.92 kB / 0.5795 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1437, allocations: 4.062 kB / 0.5795 GB, free: 14.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1438, allocations: 132.4 kB / 0.5796 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1438, allocations: 0 / 0.5796 GB, free: 14.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1441, allocations: 20 kB / 0.5796 GB, free: 14.46 MB / 430.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.777e-05/0.1442, allocations: 91.25 kB / 0.5797 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.1443, allocations: 35.92 kB / 0.5798 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1443, allocations: 0 / 0.5798 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.1443, allocations: 16 kB / 0.5798 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.1448, allocations: 70.84 kB / 0.5798 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006105/0.1454, allocations: 352.9 kB / 0.5802 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1458, allocations: 0.7084 MB / 0.5809 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.1458, allocations: 15.44 kB / 0.5809 GB, free: 13.12 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1458, allocations: 0 / 0.5809 GB, free: 13.12 MB / 430.1 MB Notification: Performance of Templates: time 0.003591/0.1494, allocations: 1.744 MB / 0.5826 GB, free: 11.39 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] [Calling sys.exit(0), Time elapsed: 7.143798117991537] Failed to read output from testmodel.py, exit status != 0: 0.15602511609904468 0.35564077899999996 0.028057048 Calling exit ...