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.08755/0.08755, allocations: 15.28 MB / 31.58 MB, free: 4.145 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.001193/0.001193, allocations: 105.3 kB / 38.59 MB, free: 1.449 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.001444/0.001444, allocations: 207.2 kB / 45.72 MB, free: 3.09 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.435/1.435, allocations: 222.9 MB / 275.6 MB, free: 6.664 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.1413/0.1413, allocations: 23.35 MB / 355.3 MB, free: 14.47 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.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: "" <> 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 0.003243/0.003243, allocations: 119.8 kB / 489.1 MB, free: 8 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2864, allocations: 59.36 MB / 0.5356 GB, free: 15.54 MB / 382.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.03512/0.3215, allocations: 22.81 MB / 0.5578 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3226, allocations: 482.8 kB / 0.5583 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.3228, allocations: 7.938 kB / 0.5583 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.3229, allocations: 23.78 kB / 0.5583 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.323, allocations: 55.48 kB / 0.5584 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.3231, allocations: 19.98 kB / 0.5584 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.3233, allocations: 151.1 kB / 0.5586 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3235, allocations: 45.45 kB / 0.5586 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.3235, allocations: 51.73 kB / 0.5586 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.841e-05/0.3236, allocations: 51.73 kB / 0.5587 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.3237, allocations: 8 kB / 0.5587 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.573e-05/0.3237, allocations: 8 kB / 0.5587 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.3237, allocations: 11.92 kB / 0.5587 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.868e-05/0.3238, allocations: 71.61 kB / 0.5588 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.324, allocations: 119.4 kB / 0.5589 GB, free: 10.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.324, allocations: 0 / 0.5589 GB, free: 10.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.324, allocations: 7.938 kB / 0.5589 GB, free: 10.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.324, allocations: 0 / 0.5589 GB, free: 10.33 MB / 398.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.0005962/0.3246, allocations: 442.7 kB / 0.5593 GB, free: 9.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3247, allocations: 8.031 kB / 0.5593 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.3247, allocations: 38.75 kB / 0.5594 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.3248, allocations: 16.84 kB / 0.5594 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.3251, allocations: 232 kB / 0.5596 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.3251, allocations: 4.375 kB / 0.5596 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.3251, allocations: 8.375 kB / 0.5596 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3253, allocations: 81.39 kB / 0.5597 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3253, allocations: 0 / 0.5597 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3253, allocations: 0 / 0.5597 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3253, allocations: 4 kB / 0.5597 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.959e-05/0.3255, allocations: 39.92 kB / 0.5597 GB, free: 9.379 MB / 398.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.0006386/0.3261, allocations: 487.3 kB / 0.5602 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.3262, allocations: 58.56 kB / 0.5603 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.3263, allocations: 28.95 kB / 0.5603 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.3263, allocations: 4 kB / 0.5603 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3263, allocations: 34.56 kB / 0.5603 GB, free: 8.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3263, allocations: 0 / 0.5603 GB, free: 8.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002172/0.3266, allocations: 85.53 kB / 0.5604 GB, free: 8.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3266, allocations: 59.34 kB / 0.5605 GB, free: 8.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.3268, allocations: 179.8 kB / 0.5606 GB, free: 8.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.3268, allocations: 25.7 kB / 0.5607 GB, free: 8.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.3269, allocations: 116.1 kB / 0.5608 GB, free: 8.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.327, allocations: 23.98 kB / 0.5608 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.327, allocations: 21.66 kB / 0.5608 GB, free: 8.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3272, allocations: 326.8 kB / 0.5611 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.052e-05/0.3272, allocations: 12 kB / 0.5611 GB, free: 7.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.3272, allocations: 8 kB / 0.5611 GB, free: 7.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.3275, allocations: 77.14 kB / 0.5612 GB, free: 7.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3275, allocations: 0 / 0.5612 GB, free: 7.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001211/0.3276, allocations: 77.64 kB / 0.5613 GB, free: 7.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.3277, allocations: 8 kB / 0.5613 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3277, allocations: 0 / 0.5613 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3277, allocations: 0 / 0.5613 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.723e-05/0.3278, allocations: 11.94 kB / 0.5613 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3278, allocations: 0 / 0.5613 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.3278, allocations: 7.953 kB / 0.5613 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.3279, allocations: 0 / 0.5613 GB, free: 7.605 MB / 398.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.0001666/0.328, allocations: 121.8 kB / 0.5614 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.3281, allocations: 23.84 kB / 0.5615 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.3281, allocations: 13 kB / 0.5615 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3281, allocations: 7.875 kB / 0.5615 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3281, allocations: 0 / 0.5615 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3281, allocations: 7.922 kB / 0.5615 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.3284, allocations: 205.6 kB / 0.5617 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3284, allocations: 0 / 0.5617 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.088e-05/0.3285, allocations: 8 kB / 0.5617 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3285, allocations: 0 / 0.5617 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3285, allocations: 4 kB / 0.5617 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3285, allocations: 3.938 kB / 0.5617 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3285, allocations: 4 kB / 0.5617 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.3287, allocations: 187.4 kB / 0.5619 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.3288, allocations: 93.05 kB / 0.562 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.3289, allocations: 0 / 0.562 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.3289, allocations: 4.062 kB / 0.562 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.329, allocations: 11.92 kB / 0.562 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.329, allocations: 4 kB / 0.562 GB, free: 6.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002156/0.3292, allocations: 136.5 kB / 0.5621 GB, free: 6.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3292, allocations: 0 / 0.5621 GB, free: 6.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.3295, allocations: 27.98 kB / 0.5621 GB, free: 6.664 MB / 398.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 0.0004865/0.3299, allocations: 0.7124 MB / 0.5628 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.3301, allocations: 35.92 kB / 0.5629 GB, free: 5.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3301, allocations: 64 / 0.5629 GB, free: 5.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.001e-05/0.3301, allocations: 16 kB / 0.5629 GB, free: 5.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.3306, allocations: 74.53 kB / 0.563 GB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.3325, allocations: 1.7 MB / 0.5646 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3329, allocations: 0.7006 MB / 0.5653 GB, free: 3.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.432e-05/0.3329, allocations: 17.08 kB / 0.5653 GB, free: 3.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.333, allocations: 35.42 kB / 0.5654 GB, free: 3.238 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.333, allocations: 0 / 0.5654 GB, free: 3.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.3598, allocations: 3.456 MB / 0.5687 GB, free: 15.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.436, allocations: 3.984 kB / 0.5687 GB, free: 15.84 MB / 414.1 MB " [Timeout remaining time 651] (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: 11.099702795036137] Failed to read output from testmodel.py, exit status != 0: 8.507663151016459 8.529705586 8.202015374 Calling exit ...