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.058/0.058, allocations: 11.16 MB / 30.25 MB, free: 5.07 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.0008306/0.0008306, allocations: 87.77 kB / 37.83 MB, free: 7.473 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.0009525/0.0009525, allocations: 160.7 kB / 45.5 MB, free: 10.91 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.8654/0.8654, allocations: 177.1 MB / 230.2 MB, free: 6.562 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.2159/0.2159, allocations: 17.62 MB / 308.7 MB, free: 1.754 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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 453.1 MB, free: 6.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.311e-05, allocations: 2.281 kB / 453.1 MB, free: 6.055 MB / 410.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.2805/0.2805, allocations: 23.4 MB / 476.5 MB, free: 42.59 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000703/0.2812, allocations: 487.3 kB / 477 MB, free: 42.52 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.2813, allocations: 7.219 kB / 477 MB, free: 42.52 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.196e-05/0.2814, allocations: 29.72 kB / 477 MB, free: 42.5 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.806e-05/0.2815, allocations: 63.89 kB / 477.1 MB, free: 42.48 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.585e-05/0.2816, allocations: 17.39 kB / 477.1 MB, free: 42.48 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2817, allocations: 160.7 kB / 477.2 MB, free: 42.41 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.2818, allocations: 29.08 kB / 477.3 MB, free: 42.4 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.338e-05/0.2819, allocations: 74.67 kB / 477.3 MB, free: 42.39 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.2819, allocations: 42.19 kB / 477.4 MB, free: 42.38 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.282, allocations: 9.125 kB / 477.4 MB, free: 42.38 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.282, allocations: 5.406 kB / 477.4 MB, free: 42.38 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.282, allocations: 17.19 kB / 477.4 MB, free: 42.38 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.282, allocations: 45.53 kB / 477.5 MB, free: 42.37 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.2821, allocations: 114.1 kB / 477.6 MB, free: 42.35 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2821, allocations: 3.938 kB / 477.6 MB, free: 42.34 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2821, allocations: 0 / 477.6 MB, free: 42.34 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.2822, allocations: 4 kB / 477.6 MB, free: 42.34 MB / 410.8 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.0003229/0.2825, allocations: 358.7 kB / 477.9 MB, free: 42.04 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2825, allocations: 11.84 kB / 477.9 MB, free: 42.04 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.37e-05/0.2825, allocations: 37.92 kB / 478 MB, free: 42 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.2826, allocations: 21.78 kB / 478 MB, free: 41.99 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.2827, allocations: 164.7 kB / 478.2 MB, free: 41.84 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.2827, allocations: 10.69 kB / 478.2 MB, free: 41.84 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.2827, allocations: 3.469 kB / 478.2 MB, free: 41.84 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.294e-05/0.2828, allocations: 74.08 kB / 478.2 MB, free: 41.8 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2828, allocations: 192 / 478.2 MB, free: 41.8 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.2828, allocations: 7.094 kB / 478.3 MB, free: 41.8 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2828, allocations: 3.938 kB / 478.3 MB, free: 41.8 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.916e-05/0.2829, allocations: 42.36 kB / 478.3 MB, free: 41.79 MB / 410.8 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.0003311/0.2832, allocations: 342.4 kB / 478.6 MB, free: 41.54 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.402e-05/0.2833, allocations: 61.91 kB / 478.7 MB, free: 41.5 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.2834, allocations: 20.89 kB / 478.7 MB, free: 41.5 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-06/0.2834, allocations: 0 / 478.7 MB, free: 41.5 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.2834, allocations: 37.28 kB / 478.7 MB, free: 41.46 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 7.42e-07/0.2834, allocations: 0 / 478.7 MB, free: 41.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001387/0.2835, allocations: 77.5 kB / 478.8 MB, free: 41.42 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.694e-05/0.2835, allocations: 55.34 kB / 478.9 MB, free: 41.36 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.2836, allocations: 184.2 kB / 479.1 MB, free: 41.25 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.2836, allocations: 28.83 kB / 479.1 MB, free: 41.22 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.2837, allocations: 113.4 kB / 479.2 MB, free: 41.14 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.2837, allocations: 26.17 kB / 479.2 MB, free: 41.12 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.2837, allocations: 15.62 kB / 479.2 MB, free: 41.1 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.846e-05/0.2837, allocations: 330.9 kB / 479.6 MB, free: 40.79 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.2837, allocations: 8.719 kB / 479.6 MB, free: 40.79 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.2838, allocations: 19.66 kB / 479.6 MB, free: 40.78 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.2839, allocations: 69.31 kB / 479.7 MB, free: 40.77 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2839, allocations: 0 / 479.7 MB, free: 40.77 MB / 410.8 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.901e-05/0.284, allocations: 72.97 kB / 479.7 MB, free: 40.73 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.284, allocations: 5.938 kB / 479.7 MB, free: 40.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.284, allocations: 7.328 kB / 479.7 MB, free: 40.73 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.284, allocations: 0 / 479.7 MB, free: 40.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-05/0.2841, allocations: 9.031 kB / 479.8 MB, free: 40.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2841, allocations: 0 / 479.8 MB, free: 40.73 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.2841, allocations: 10.95 kB / 479.8 MB, free: 40.72 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.2841, allocations: 6.984 kB / 479.8 MB, free: 40.72 MB / 410.8 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 9.368e-05/0.2842, allocations: 128.2 kB / 479.9 MB, free: 40.6 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.2842, allocations: 13.94 kB / 479.9 MB, free: 40.59 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.2842, allocations: 12.19 kB / 479.9 MB, free: 40.59 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2842, allocations: 7.062 kB / 479.9 MB, free: 40.59 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2842, allocations: 0 / 479.9 MB, free: 40.59 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2842, allocations: 3.375 kB / 479.9 MB, free: 40.59 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.888e-05/0.2843, allocations: 173.2 kB / 480.1 MB, free: 40.43 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.2843, allocations: 4.125 kB / 480.1 MB, free: 40.43 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.2844, allocations: 10 kB / 480.1 MB, free: 40.42 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.2844, allocations: 3.938 kB / 480.1 MB, free: 40.42 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.2844, allocations: 0 / 480.1 MB, free: 40.42 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2844, allocations: 6.234 kB / 480.1 MB, free: 40.42 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2844, allocations: 0 / 480.1 MB, free: 40.42 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.2845, allocations: 194.8 kB / 480.3 MB, free: 40.25 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.2845, allocations: 13.95 kB / 480.3 MB, free: 40.25 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.2845, allocations: 4 kB / 480.3 MB, free: 40.24 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.2846, allocations: 2.875 kB / 480.3 MB, free: 40.24 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.2846, allocations: 3.094 kB / 480.3 MB, free: 40.24 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.2846, allocations: 3.031 kB / 480.3 MB, free: 40.24 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.643e-05/0.2846, allocations: 136.5 kB / 480.5 MB, free: 40.15 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.2846, allocations: 0 / 480.5 MB, free: 40.15 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001459/0.2848, allocations: 25.34 kB / 480.5 MB, free: 40.14 MB / 410.8 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 0.0001653/0.2849, allocations: 0.715 MB / 481.2 MB, free: 39.45 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.142e-05/0.285, allocations: 33.39 kB / 481.2 MB, free: 39.44 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.285, allocations: 0 / 481.2 MB, free: 39.44 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.728e-05/0.285, allocations: 23.97 kB / 481.3 MB, free: 39.43 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.2853, allocations: 63.7 kB / 481.3 MB, free: 39.41 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008347/0.2861, allocations: 1.661 MB / 483 MB, free: 38.04 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.209e-05/0.2862, allocations: 98.55 kB / 483.1 MB, free: 37.96 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.505e-05/0.2862, allocations: 14.12 kB / 483.1 MB, free: 37.96 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.2863, allocations: 37.77 kB / 483.1 MB, free: 37.93 MB / 410.8 MB Notification: Performance of SimCode: time 4.81e-07/0.2863, allocations: 3.938 kB / 483.1 MB, free: 37.93 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.3017, allocations: 4.357 MB / 487.5 MB, free: 36.74 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/6.944, allocations: 12.5 kB / 487.5 MB, free: 36.73 MB / 410.8 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.94376885984093] Failed to read output from testmodel.py, exit status != 0: 7.026277375407517 7.034413829 6.750508436 Calling exit ...