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.05764/0.05764, allocations: 11.16 MB / 31.26 MB, free: 4.934 MB / 24.77 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.0009409/0.0009409, allocations: 99.39 kB / 38.87 MB, free: 7.379 MB / 33.03 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.001066/0.001066, allocations: 160.5 kB / 46.57 MB, free: 10.75 MB / 44.04 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 0.9946/0.9946, allocations: 177.2 MB / 231.3 MB, free: 6.422 MB / 202.7 MB " [Timeout remaining time 179] 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.2111/0.2111, allocations: 17.62 MB / 309.8 MB, free: 1.801 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 391.1 MB, free: 5.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.368e-05, allocations: 2.312 kB / 391.1 MB, free: 5.098 MB / 346.7 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.02524/0.02527, allocations: 26.03 MB / 417.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.02629, allocations: 0.5024 MB / 417.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.0264, allocations: 7.938 kB / 417.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.02652, allocations: 23.72 kB / 417.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.02662, allocations: 59.48 kB / 417.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.02674, allocations: 15.98 kB / 417.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.0269, allocations: 162.9 kB / 417.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.02701, allocations: 33.64 kB / 418 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.932e-05/0.0271, allocations: 79.75 kB / 418 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.0272, allocations: 43.89 kB / 418.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.02723, allocations: 4 kB / 418.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.732e-05/0.02724, allocations: 8 kB / 418.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.02727, allocations: 19.88 kB / 418.1 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.02732, allocations: 35.92 kB / 418.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.02752, allocations: 91.61 kB / 418.2 MB, free: 10.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.02752, allocations: 0 / 418.2 MB, free: 10.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02752, allocations: 4 kB / 418.2 MB, free: 10.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.02753, allocations: 0 / 418.2 MB, free: 10.06 MB / 378.7 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.0005754/0.0281, allocations: 467.9 kB / 418.7 MB, free: 9.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.02814, allocations: 8.031 kB / 418.7 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.0282, allocations: 28.83 kB / 418.7 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.02842, allocations: 172.3 kB / 418.9 MB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.02843, allocations: 384 / 418.9 MB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.02846, allocations: 12.38 kB / 418.9 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.02856, allocations: 62.17 kB / 419 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.02858, allocations: 192 / 419 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.02859, allocations: 4.375 kB / 419 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.0286, allocations: 3.938 kB / 419 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.065e-05/0.02865, allocations: 31.06 kB / 419 MB, free: 9.223 MB / 378.7 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.0004214/0.02907, allocations: 355.4 kB / 419.4 MB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.02917, allocations: 47.05 kB / 419.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.0292, allocations: 27.75 kB / 419.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.02921, allocations: 0 / 419.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.02923, allocations: 33.39 kB / 419.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.02923, allocations: 4 kB / 419.5 MB, free: 8.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001687/0.0294, allocations: 69.59 kB / 419.5 MB, free: 8.629 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.02943, allocations: 51.41 kB / 419.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.02956, allocations: 222.4 kB / 419.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.02957, allocations: 25.7 kB / 419.8 MB, free: 8.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.02963, allocations: 162.9 kB / 420 MB, free: 8.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.02965, allocations: 23.84 kB / 420 MB, free: 8.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.02968, allocations: 23.38 kB / 420 MB, free: 8.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.02979, allocations: 0.5 MB / 420.5 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.02981, allocations: 7.938 kB / 420.5 MB, free: 7.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.482e-05/0.02983, allocations: 12.23 kB / 420.6 MB, free: 7.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.211e-05/0.02989, allocations: 39.75 kB / 420.6 MB, free: 7.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.02989, allocations: 0 / 420.6 MB, free: 7.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.929e-05/0.02996, allocations: 65.58 kB / 420.7 MB, free: 7.438 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.02997, allocations: 4 kB / 420.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.02998, allocations: 0 / 420.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.02999, allocations: 4 kB / 420.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.03006, allocations: 15.94 kB / 420.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.03006, allocations: 4 kB / 420.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.03008, allocations: 0 / 420.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.03009, allocations: 0 / 420.7 MB, free: 7.41 MB / 378.7 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.0001322/0.03022, allocations: 172.4 kB / 420.9 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.03024, allocations: 15.95 kB / 420.9 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.03027, allocations: 13.16 kB / 420.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.03027, allocations: 0 / 420.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.03027, allocations: 0 / 420.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.03028, allocations: 0 / 420.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.0304, allocations: 156.5 kB / 421 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.0304, allocations: 4 kB / 421 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.03046, allocations: 8 kB / 421 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.03046, allocations: 0 / 421 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.03047, allocations: 0 / 421 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.03048, allocations: 4.062 kB / 421.1 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.03048, allocations: 0 / 421.1 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.03064, allocations: 227.7 kB / 421.3 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.03066, allocations: 15.91 kB / 421.3 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.03068, allocations: 4 kB / 421.3 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.563e-05/0.03071, allocations: 0 / 421.3 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.03073, allocations: 8.016 kB / 421.3 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.03073, allocations: 4 kB / 421.3 MB, free: 6.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.355e-05/0.0308, allocations: 159.2 kB / 421.5 MB, free: 6.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0308, allocations: 0 / 421.5 MB, free: 6.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.03094, allocations: 23.94 kB / 421.5 MB, free: 6.551 MB / 378.7 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.326e-05/0.03102, allocations: 91.25 kB / 421.6 MB, free: 6.453 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.588e-05/0.0311, allocations: 35.61 kB / 421.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.0311, allocations: 0 / 421.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.908e-05/0.03112, allocations: 19.67 kB / 421.6 MB, free: 6.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.03141, allocations: 67.7 kB / 421.7 MB, free: 6.328 MB / 378.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/(kg.K): Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008687/0.03228, allocations: 314.2 kB / 422 MB, free: 5.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.729e-05/0.03232, allocations: 71.27 kB / 422.1 MB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.493e-05/0.03236, allocations: 12.97 kB / 422.1 MB, free: 5.887 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.03239, allocations: 16.5 kB / 422.1 MB, free: 5.871 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03239, allocations: 0 / 422.1 MB, free: 5.871 MB / 378.7 MB Notification: Performance of Templates: time 0.003079/0.03547, allocations: 1.59 MB / 423.7 MB, free: 4.316 MB / 378.7 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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.079663197044283]