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.1091/0.1091, allocations: 15.55 MB / 34.4 MB, free: 4.488 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.001309/0.001309, allocations: 105.8 kB / 41.98 MB, free: 6.199 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.001473/0.001473, allocations: 219.7 kB / 49.67 MB, free: 10.04 MB / 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.549/1.549, allocations: 230.6 MB / 287.8 MB, free: 6.379 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.1644/0.1644, allocations: 23.72 MB / 372.4 MB, free: 2.953 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: "" <> 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: 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.003729/0.003729, allocations: 123.8 kB / 0.5046 GB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2758, allocations: 63.85 MB / 0.567 GB, free: 14.52 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.06871/0.3445, allocations: 23.15 MB / 0.5896 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3456, allocations: 478.8 kB / 0.5901 GB, free: 7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.911e-05/0.3457, allocations: 7.938 kB / 0.5901 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.3458, allocations: 31.72 kB / 0.5901 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.346, allocations: 51.48 kB / 0.5902 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.3461, allocations: 19.98 kB / 0.5902 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.3463, allocations: 155.1 kB / 0.5903 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3464, allocations: 37.66 kB / 0.5904 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.3465, allocations: 51.73 kB / 0.5904 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.3466, allocations: 51.72 kB / 0.5905 GB, free: 6.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.3466, allocations: 4 kB / 0.5905 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.583e-05/0.3466, allocations: 8 kB / 0.5905 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.3466, allocations: 15.94 kB / 0.5905 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.3467, allocations: 51.73 kB / 0.5905 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.3469, allocations: 127.4 kB / 0.5907 GB, free: 6.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3469, allocations: 0 / 0.5907 GB, free: 6.391 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3469, allocations: 4 kB / 0.5907 GB, free: 6.387 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.3469, allocations: 0 / 0.5907 GB, free: 6.387 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.0005662/0.3475, allocations: 365.6 kB / 0.591 GB, free: 6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3475, allocations: 8.031 kB / 0.591 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.3475, allocations: 42.73 kB / 0.5911 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.3476, allocations: 12.84 kB / 0.5911 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.3478, allocations: 182.6 kB / 0.5912 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3479, allocations: 8.375 kB / 0.5912 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.3479, allocations: 4.375 kB / 0.5913 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.348, allocations: 81.03 kB / 0.5913 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.348, allocations: 0 / 0.5913 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.348, allocations: 4 kB / 0.5913 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3481, allocations: 4 kB / 0.5913 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.094e-05/0.3481, allocations: 31.98 kB / 0.5914 GB, free: 5.594 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.0005513/0.3487, allocations: 332.5 kB / 0.5917 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.3488, allocations: 66.48 kB / 0.5917 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.3489, allocations: 20.98 kB / 0.5918 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.3489, allocations: 4 kB / 0.5918 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.3489, allocations: 30.56 kB / 0.5918 GB, free: 5.086 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3489, allocations: 0 / 0.5918 GB, free: 5.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002021/0.3491, allocations: 85.53 kB / 0.5919 GB, free: 4.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3491, allocations: 63.28 kB / 0.5919 GB, free: 4.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.3493, allocations: 182.2 kB / 0.5921 GB, free: 4.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3494, allocations: 29.7 kB / 0.5921 GB, free: 4.699 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.3494, allocations: 116.2 kB / 0.5923 GB, free: 4.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.3495, allocations: 27.78 kB / 0.5923 GB, free: 4.555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.3495, allocations: 17.72 kB / 0.5923 GB, free: 4.531 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3496, allocations: 322.8 kB / 0.5926 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.3497, allocations: 12 kB / 0.5926 GB, free: 4.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.3497, allocations: 15.98 kB / 0.5926 GB, free: 4.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.35, allocations: 65.22 kB / 0.5927 GB, free: 4.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.35, allocations: 0 / 0.5927 GB, free: 4.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001214/0.3501, allocations: 81.59 kB / 0.5928 GB, free: 4.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3501, allocations: 8 kB / 0.5928 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3501, allocations: 3.938 kB / 0.5928 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3501, allocations: 4 kB / 0.5928 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.3502, allocations: 15.92 kB / 0.5928 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3502, allocations: 3.984 kB / 0.5928 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.3503, allocations: 3.938 kB / 0.5928 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.3503, allocations: 0 / 0.5928 GB, free: 3.988 MB / 414.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.0001528/0.3504, allocations: 128.5 kB / 0.5929 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.3505, allocations: 15.91 kB / 0.5929 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.3505, allocations: 21.08 kB / 0.593 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3505, allocations: 3.938 kB / 0.593 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3505, allocations: 0 / 0.593 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3505, allocations: 0 / 0.593 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.3507, allocations: 168.7 kB / 0.5931 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3507, allocations: 0 / 0.5931 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.3508, allocations: 8 kB / 0.5931 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3508, allocations: 0 / 0.5931 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.3508, allocations: 0 / 0.5931 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3508, allocations: 3.938 kB / 0.5931 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3508, allocations: 0 / 0.5931 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.351, allocations: 199.4 kB / 0.5933 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.3511, allocations: 15.94 kB / 0.5934 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.3511, allocations: 0 / 0.5934 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.3512, allocations: 3.938 kB / 0.5934 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.3512, allocations: 11.92 kB / 0.5934 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.3512, allocations: 4 kB / 0.5934 GB, free: 3.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.3513, allocations: 132.4 kB / 0.5935 GB, free: 3.219 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3513, allocations: 0 / 0.5935 GB, free: 3.219 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000235/0.3516, allocations: 23.94 kB / 0.5935 GB, free: 3.195 MB / 414.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.0004771/0.352, allocations: 0.7163 MB / 0.5942 GB, free: 2.449 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.3522, allocations: 36.11 kB / 0.5943 GB, free: 2.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3522, allocations: 0 / 0.5943 GB, free: 2.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.23e-05/0.3522, allocations: 19.94 kB / 0.5943 GB, free: 2.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.3527, allocations: 59.27 kB / 0.5943 GB, free: 2.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.3545, allocations: 1.685 MB / 0.596 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.084e-05/0.3546, allocations: 90.72 kB / 0.5961 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.433e-05/0.3547, allocations: 21.06 kB / 0.5961 GB, free: 452 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.3548, allocations: 35.42 kB / 0.5961 GB, free: 420 kB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3548, allocations: 0 / 0.5961 GB, free: 420 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.3883, allocations: 4.252 MB / 0.6003 GB, free: 12.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.88, allocations: 11.27 kB / 0.6003 GB, free: 12.27 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.923015635926276] Failed to read output from testmodel.py, exit status != 0: 11.990135516040027 12.019141764 11.6670613 Calling exit ...