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 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1483/0.1483, allocations: 23.88 MB / 42.73 MB, free: 2.566 MB / 34.91 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.001253/0.001253, allocations: 115.2 kB / 52.42 MB, free: 236 kB / 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.001575/0.001575, allocations: 218.2 kB / 62.23 MB, free: 2.066 MB / 46.55 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.44/1.44, allocations: 230.6 MB / 302.5 MB, free: 6.961 MB / 222.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.1434/0.1434, allocations: 23.75 MB / 389.2 MB, free: 8.93 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 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.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: 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: Physiolibrary requested package Chemical of version 1.4.0. Chemical 2.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(Physiolibrary, Chemical, \"2.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.003298/0.003298, allocations: 121.4 kB / 0.5251 GB, free: 42.25 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1247, allocations: 65.96 MB / 0.5896 GB, free: 9.711 MB / 414.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.06968/0.1944, allocations: 23.06 MB / 0.6121 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.1957, allocations: 498.8 kB / 0.6126 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1958, allocations: 7.938 kB / 0.6126 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.196, allocations: 27.78 kB / 0.6126 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.1961, allocations: 55.48 kB / 0.6126 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.1962, allocations: 15.98 kB / 0.6127 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.1965, allocations: 155 kB / 0.6128 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1966, allocations: 33.61 kB / 0.6128 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.298e-05/0.1967, allocations: 55.73 kB / 0.6129 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1968, allocations: 55.77 kB / 0.6129 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1968, allocations: 4 kB / 0.6129 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.703e-05/0.1968, allocations: 8 kB / 0.613 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.1969, allocations: 23.81 kB / 0.613 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.634e-05/0.1969, allocations: 51.73 kB / 0.613 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1972, allocations: 119.5 kB / 0.6131 GB, free: 1.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1972, allocations: 0 / 0.6131 GB, free: 1.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1972, allocations: 3.938 kB / 0.6131 GB, free: 1.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1972, allocations: 0 / 0.6131 GB, free: 1.625 MB / 430.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.0006191/0.1978, allocations: 369.6 kB / 0.6135 GB, free: 1.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1978, allocations: 8.031 kB / 0.6135 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.1979, allocations: 42.73 kB / 0.6135 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.1979, allocations: 12.84 kB / 0.6136 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.1982, allocations: 170.2 kB / 0.6137 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1982, allocations: 4.375 kB / 0.6137 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1982, allocations: 16.36 kB / 0.6137 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1984, allocations: 69.81 kB / 0.6138 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1984, allocations: 0 / 0.6138 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.1984, allocations: 0 / 0.6138 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.1984, allocations: 7.984 kB / 0.6138 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.197e-05/0.1985, allocations: 35.92 kB / 0.6138 GB, free: 0.8359 MB / 430.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.0005941/0.1991, allocations: 335.8 kB / 0.6142 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1992, allocations: 58.5 kB / 0.6142 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.1993, allocations: 28.95 kB / 0.6142 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.1993, allocations: 4 kB / 0.6143 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1993, allocations: 30.56 kB / 0.6143 GB, free: 332 kB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1993, allocations: 0 / 0.6143 GB, free: 332 kB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002239/0.1996, allocations: 81.59 kB / 0.6144 GB, free: 244 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.1996, allocations: 67.28 kB / 0.6144 GB, free: 164 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1998, allocations: 178.3 kB / 0.6146 GB, free: 15.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1999, allocations: 33.64 kB / 0.6146 GB, free: 15.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.1999, allocations: 104.1 kB / 0.6147 GB, free: 15.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.2, allocations: 27.78 kB / 0.6148 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.2, allocations: 17.72 kB / 0.6148 GB, free: 15.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2002, allocations: 326.8 kB / 0.6151 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.2002, allocations: 8 kB / 0.6151 GB, free: 15.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.2002, allocations: 16.31 kB / 0.6151 GB, free: 15.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.2005, allocations: 72.83 kB / 0.6152 GB, free: 15.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2005, allocations: 0 / 0.6152 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001221/0.2006, allocations: 81.53 kB / 0.6153 GB, free: 15.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2006, allocations: 4 kB / 0.6153 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2006, allocations: 0 / 0.6153 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2007, allocations: 8 kB / 0.6153 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.2007, allocations: 7.938 kB / 0.6153 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2007, allocations: 4 kB / 0.6153 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.2008, allocations: 7.938 kB / 0.6153 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.2008, allocations: 3.984 kB / 0.6153 GB, free: 15.23 MB / 446.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.0001798/0.201, allocations: 117.8 kB / 0.6154 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.201, allocations: 15.91 kB / 0.6154 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.2011, allocations: 17.08 kB / 0.6154 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2011, allocations: 7.938 kB / 0.6154 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2011, allocations: 4 kB / 0.6154 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2011, allocations: 0 / 0.6154 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.2013, allocations: 164.7 kB / 0.6156 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2013, allocations: 0 / 0.6156 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.2014, allocations: 11.94 kB / 0.6156 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2014, allocations: 0 / 0.6156 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2014, allocations: 4 kB / 0.6156 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2014, allocations: 4 kB / 0.6156 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.2014, allocations: 4 kB / 0.6156 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.2016, allocations: 183.5 kB / 0.6158 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.2017, allocations: 19.92 kB / 0.6158 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.2017, allocations: 4.062 kB / 0.6158 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.2018, allocations: 3.938 kB / 0.6158 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.2018, allocations: 7.984 kB / 0.6158 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2018, allocations: 0 / 0.6158 GB, free: 14.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.2019, allocations: 131.2 kB / 0.616 GB, free: 14.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2019, allocations: 0 / 0.616 GB, free: 14.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.2021, allocations: 27.94 kB / 0.616 GB, free: 14.45 MB / 446.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.0005219/0.2027, allocations: 0.7163 MB / 0.6167 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.2028, allocations: 31.98 kB / 0.6167 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2028, allocations: 0 / 0.6167 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.061e-05/0.2028, allocations: 23.94 kB / 0.6167 GB, free: 13.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.2033, allocations: 69.98 kB / 0.6168 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.2052, allocations: 1.693 MB / 0.6185 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.504e-05/0.2053, allocations: 90.72 kB / 0.6185 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.717e-05/0.2053, allocations: 17.08 kB / 0.6186 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.2054, allocations: 35.42 kB / 0.6186 GB, free: 11.65 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2054, allocations: 3.938 kB / 0.6186 GB, free: 11.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.2394, allocations: 4.261 MB / 0.6228 GB, free: 7.527 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.24, allocations: 23.3 kB / 0.6228 GB, free: 7.508 MB / 446.1 MB " [Timeout remaining time 649] (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.445854407036677] Failed to read output from testmodel.py, exit status != 0: 11.348023939994164 11.363487947 11.163304656 Calling exit ...