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.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.0916/0.0916, allocations: 11.15 MB / 30.84 MB, free: 6.121 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 84.38 kB / 38.4 MB, free: 7.914 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 168.5 kB / 46.06 MB, free: 244 kB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.324/1.324, allocations: 177.2 MB / 230.8 MB, free: 8.047 MB / 206.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.1575/0.1575, allocations: 17.63 MB / 309.3 MB, free: 12.8 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.004012/0.004012, allocations: 129.2 kB / 454.1 MB, free: 268 kB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.109, allocations: 63.83 MB / 0.5058 GB, free: 312 kB / 462.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.06792/0.1769, allocations: 23.11 MB / 0.5284 GB, free: 9.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.178, allocations: 498.7 kB / 0.5288 GB, free: 8.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1781, allocations: 7.938 kB / 0.5289 GB, free: 8.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.1783, allocations: 23.72 kB / 0.5289 GB, free: 8.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.1784, allocations: 55.55 kB / 0.5289 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.1785, allocations: 23.91 kB / 0.529 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.1787, allocations: 155 kB / 0.5291 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1788, allocations: 25.66 kB / 0.5291 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.432e-05/0.1789, allocations: 59.73 kB / 0.5292 GB, free: 8.453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.913e-05/0.179, allocations: 43.78 kB / 0.5292 GB, free: 8.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.179, allocations: 11.94 kB / 0.5292 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.507e-05/0.179, allocations: 8 kB / 0.5292 GB, free: 8.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.012e-05/0.1791, allocations: 19.86 kB / 0.5293 GB, free: 8.371 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.1791, allocations: 55.75 kB / 0.5293 GB, free: 8.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1793, allocations: 123.4 kB / 0.5294 GB, free: 8.195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1793, allocations: 0 / 0.5294 GB, free: 8.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1793, allocations: 4 kB / 0.5294 GB, free: 8.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1793, allocations: 4 kB / 0.5294 GB, free: 8.188 MB / 494.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.0005392/0.1799, allocations: 357.6 kB / 0.5298 GB, free: 7.809 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1799, allocations: 15.98 kB / 0.5298 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.18, allocations: 20.83 kB / 0.5298 GB, free: 7.773 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.1802, allocations: 162.8 kB / 0.53 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1802, allocations: 12.38 kB / 0.53 GB, free: 7.578 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.1802, allocations: 4.375 kB / 0.53 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1804, allocations: 77.92 kB / 0.5301 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1804, allocations: 0 / 0.5301 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1804, allocations: 8 kB / 0.5301 GB, free: 7.484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1804, allocations: 4 kB / 0.5301 GB, free: 7.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.021e-05/0.1805, allocations: 31.98 kB / 0.5301 GB, free: 7.449 MB / 494.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.0005302/0.181, allocations: 309.1 kB / 0.5304 GB, free: 7.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1812, allocations: 54.56 kB / 0.5305 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/0.1812, allocations: 20.98 kB / 0.5305 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.1812, allocations: 7.984 kB / 0.5305 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1813, allocations: 34.5 kB / 0.5305 GB, free: 6.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1813, allocations: 0 / 0.5305 GB, free: 6.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001999/0.1815, allocations: 77.64 kB / 0.5306 GB, free: 6.898 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.1815, allocations: 51.41 kB / 0.5306 GB, free: 6.836 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1817, allocations: 174.4 kB / 0.5308 GB, free: 6.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1817, allocations: 25.7 kB / 0.5308 GB, free: 6.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.1818, allocations: 124.1 kB / 0.5309 GB, free: 6.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.1818, allocations: 15.89 kB / 0.531 GB, free: 6.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.1818, allocations: 21.7 kB / 0.531 GB, free: 6.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.182, allocations: 326.8 kB / 0.5313 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.811e-05/0.182, allocations: 12 kB / 0.5313 GB, free: 6.117 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.182, allocations: 8 kB / 0.5313 GB, free: 6.109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.1823, allocations: 72.77 kB / 0.5314 GB, free: 6.035 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1823, allocations: 3.938 kB / 0.5314 GB, free: 6.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00012/0.1824, allocations: 77.59 kB / 0.5315 GB, free: 5.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1824, allocations: 8 kB / 0.5315 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.1824, allocations: 4 kB / 0.5315 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1825, allocations: 0 / 0.5315 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.246e-05/0.1825, allocations: 8.438 kB / 0.5315 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1825, allocations: 11.81 kB / 0.5315 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/0.1826, allocations: 0 / 0.5315 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1826, allocations: 8 kB / 0.5315 GB, free: 5.91 MB / 494.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.0001427/0.1827, allocations: 125.8 kB / 0.5316 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.1828, allocations: 15.91 kB / 0.5316 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.1828, allocations: 13.16 kB / 0.5316 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1828, allocations: 4 kB / 0.5316 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1828, allocations: 3.938 kB / 0.5317 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.1828, allocations: 0 / 0.5317 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.183, allocations: 141.3 kB / 0.5318 GB, free: 5.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.183, allocations: 0 / 0.5318 GB, free: 5.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-05/0.1831, allocations: 8 kB / 0.5318 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1831, allocations: 0 / 0.5318 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1831, allocations: 4 kB / 0.5318 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.1831, allocations: 4 kB / 0.5318 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1831, allocations: 3.984 kB / 0.5318 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.1833, allocations: 187.3 kB / 0.532 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.1833, allocations: 16.05 kB / 0.532 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.1834, allocations: 4 kB / 0.532 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.1834, allocations: 0 / 0.532 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.1834, allocations: 3.984 kB / 0.532 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.1834, allocations: 3.938 kB / 0.532 GB, free: 5.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1836, allocations: 128.3 kB / 0.5321 GB, free: 5.203 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1836, allocations: 0 / 0.5321 GB, free: 5.203 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.1838, allocations: 27.95 kB / 0.5322 GB, free: 5.176 MB / 494.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.15e-05/0.1839, allocations: 87.25 kB / 0.5322 GB, free: 5.082 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.184, allocations: 39.92 kB / 0.5323 GB, free: 5.043 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.184, allocations: 0 / 0.5323 GB, free: 5.043 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.183e-05/0.184, allocations: 20 kB / 0.5323 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.1844, allocations: 52.05 kB / 0.5323 GB, free: 4.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.185, allocations: 328 kB / 0.5327 GB, free: 4.629 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.1851, allocations: 94.22 kB / 0.5328 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.72e-05/0.1851, allocations: 12.95 kB / 0.5328 GB, free: 4.496 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.1852, allocations: 16.5 kB / 0.5328 GB, free: 4.48 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1852, allocations: 0 / 0.5328 GB, free: 4.48 MB / 494.1 MB Notification: Performance of Templates: time 0.004365/0.1895, allocations: 1.589 MB / 0.5343 GB, free: 2.93 MB / 494.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 -s ida -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.442712749005295] Failed to read output from testmodel.py, exit status != 0: 0.19767235801555216 0.211421355 0.029138471000000003 Calling exit ...