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.1753/0.1753, allocations: 23.87 MB / 40.92 MB, free: 7.59 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.001322/0.001322, allocations: 107.4 kB / 50.27 MB, free: 10.33 MB / 46.55 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.001855/0.001855, allocations: 208.3 kB / 59.76 MB, free: 0.8281 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.586/1.586, allocations: 230.5 MB / 299.6 MB, free: 7.582 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.1469/0.1469, allocations: 23.7 MB / 385.9 MB, free: 10.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",fmuType="cs",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.00345/0.00345, allocations: 121.1 kB / 0.5203 GB, free: 42.79 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1582, allocations: 65.91 MB / 0.5847 GB, free: 11.48 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.04183/0.2, allocations: 22.85 MB / 0.607 GB, free: 4.699 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.2014, allocations: 0.518 MB / 0.6075 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.2015, allocations: 7.938 kB / 0.6075 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.2017, allocations: 19.8 kB / 0.6075 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.2018, allocations: 55.48 kB / 0.6076 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.202, allocations: 27.91 kB / 0.6076 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.2022, allocations: 151.1 kB / 0.6077 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2023, allocations: 29.44 kB / 0.6078 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.405e-05/0.2024, allocations: 47.86 kB / 0.6078 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.2025, allocations: 59.66 kB / 0.6079 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.2026, allocations: 4 kB / 0.6079 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.27e-05/0.2026, allocations: 8 kB / 0.6079 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.2026, allocations: 27.84 kB / 0.6079 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.746e-05/0.2027, allocations: 59.67 kB / 0.608 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.2029, allocations: 119.4 kB / 0.6081 GB, free: 3.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2029, allocations: 4 kB / 0.6081 GB, free: 3.559 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2029, allocations: 0 / 0.6081 GB, free: 3.559 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.203, allocations: 0 / 0.6081 GB, free: 3.559 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.0006683/0.2036, allocations: 442.7 kB / 0.6085 GB, free: 3.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2037, allocations: 12.03 kB / 0.6085 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.196e-05/0.2037, allocations: 192 / 0.6085 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.2037, allocations: 38.75 kB / 0.6085 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.2038, allocations: 12.84 kB / 0.6086 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.2041, allocations: 240.6 kB / 0.6088 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2041, allocations: 8.375 kB / 0.6088 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.2041, allocations: 4.375 kB / 0.6088 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.2043, allocations: 80.36 kB / 0.6089 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2043, allocations: 0 / 0.6089 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2043, allocations: 0 / 0.6089 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2043, allocations: 4 kB / 0.6089 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.202e-05/0.2044, allocations: 35.98 kB / 0.6089 GB, free: 2.602 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.0007081/0.2051, allocations: 487.3 kB / 0.6094 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.2053, allocations: 58.55 kB / 0.6094 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.2053, allocations: 16.98 kB / 0.6094 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.2053, allocations: 4 kB / 0.6095 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.2054, allocations: 46.48 kB / 0.6095 GB, free: 1.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2054, allocations: 0 / 0.6095 GB, free: 1.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002611/0.2056, allocations: 89.53 kB / 0.6096 GB, free: 1.812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2057, allocations: 55.41 kB / 0.6096 GB, free: 1.746 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.2059, allocations: 178.3 kB / 0.6098 GB, free: 1.562 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2059, allocations: 25.7 kB / 0.6098 GB, free: 1.531 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.206, allocations: 116.1 kB / 0.6099 GB, free: 1.414 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.206, allocations: 15.94 kB / 0.61 GB, free: 1.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.206, allocations: 25.72 kB / 0.61 GB, free: 1.367 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2062, allocations: 322.8 kB / 0.6103 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.2062, allocations: 12 kB / 0.6103 GB, free: 1.031 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.76e-05/0.2063, allocations: 19.88 kB / 0.6103 GB, free: 1.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.2066, allocations: 68.83 kB / 0.6104 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2066, allocations: 0 / 0.6104 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001417/0.2067, allocations: 81.59 kB / 0.6105 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2067, allocations: 10.66 kB / 0.6105 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2067, allocations: 0 / 0.6105 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2067, allocations: 3.938 kB / 0.6105 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-05/0.2068, allocations: 11.94 kB / 0.6105 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2068, allocations: 0 / 0.6105 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.2069, allocations: 4 kB / 0.6105 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.2069, allocations: 0 / 0.6105 GB, free: 0.8281 MB / 430.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.0001786/0.2071, allocations: 121.5 kB / 0.6106 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.2071, allocations: 19.91 kB / 0.6106 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.2072, allocations: 17 kB / 0.6106 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2072, allocations: 4.375 kB / 0.6106 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2072, allocations: 0 / 0.6106 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2072, allocations: 0 / 0.6106 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.2074, allocations: 213.5 kB / 0.6108 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2074, allocations: 0 / 0.6108 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.701e-05/0.2075, allocations: 8 kB / 0.6109 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2075, allocations: 0 / 0.6109 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.2075, allocations: 0 / 0.6109 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/0.2075, allocations: 3.938 kB / 0.6109 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2075, allocations: 4 kB / 0.6109 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.2078, allocations: 195.4 kB / 0.6111 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.2079, allocations: 89.05 kB / 0.6111 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.2079, allocations: 4 kB / 0.6111 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.208, allocations: 3.938 kB / 0.6111 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.208, allocations: 7.984 kB / 0.6112 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.208, allocations: 0 / 0.6112 GB, free: 60 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.2082, allocations: 136.5 kB / 0.6113 GB, free: 15.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2082, allocations: 0 / 0.6113 GB, free: 15.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.2084, allocations: 20 kB / 0.6113 GB, free: 15.91 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.0005756/0.209, allocations: 0.724 MB / 0.612 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.2091, allocations: 31.98 kB / 0.612 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.2091, allocations: 4.062 kB / 0.612 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.802e-05/0.2092, allocations: 19.94 kB / 0.6121 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.2096, allocations: 70.91 kB / 0.6121 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.2116, allocations: 1.692 MB / 0.6138 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.212, allocations: 0.7006 MB / 0.6145 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.574e-05/0.2121, allocations: 25.06 kB / 0.6145 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.2121, allocations: 35.42 kB / 0.6145 GB, free: 12.47 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2121, allocations: 0 / 0.6145 GB, free: 12.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.2352, allocations: 3.513 MB / 0.618 GB, free: 9.039 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.709/8.945, allocations: 12.05 kB / 0.618 GB, free: 9.027 MB / 446.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.360532536986284] Failed to read output from testmodel.py, exit status != 0: 9.072071963048074 9.087453824 8.881510884 Calling exit ...