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.1967/0.1967, allocations: 23.88 MB / 43.51 MB, free: 2.57 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.001465/0.001465, allocations: 118.1 kB / 53.2 MB, free: 256 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.001771/0.001771, allocations: 218.3 kB / 63.01 MB, free: 2.082 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.675/1.675, allocations: 230.6 MB / 303.3 MB, free: 6.953 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.153/0.153, allocations: 23.75 MB / 389.9 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="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.003385/0.003385, allocations: 112.3 kB / 0.5259 GB, free: 42.29 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1652, allocations: 65.98 MB / 0.5903 GB, free: 9.699 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.07513/0.2404, allocations: 22.75 MB / 0.6125 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.2418, allocations: 494.8 kB / 0.613 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.2419, allocations: 7.938 kB / 0.613 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.2421, allocations: 19.78 kB / 0.613 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.2422, allocations: 59.48 kB / 0.6131 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.2423, allocations: 19.97 kB / 0.6131 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.2426, allocations: 151.1 kB / 0.6133 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.2427, allocations: 21.67 kB / 0.6133 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2428, allocations: 55.73 kB / 0.6133 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.243, allocations: 59.72 kB / 0.6134 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.243, allocations: 8 kB / 0.6134 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.7e-05/0.243, allocations: 8 kB / 0.6134 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.243, allocations: 23.84 kB / 0.6134 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.328e-05/0.2431, allocations: 51.75 kB / 0.6135 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.2434, allocations: 115.4 kB / 0.6136 GB, free: 1.941 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2434, allocations: 0 / 0.6136 GB, free: 1.941 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2434, allocations: 0 / 0.6136 GB, free: 1.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2434, allocations: 4 kB / 0.6136 GB, free: 1.938 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.0006993/0.2441, allocations: 361.6 kB / 0.6139 GB, free: 1.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.2441, allocations: 16.02 kB / 0.6139 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.715e-05/0.2441, allocations: 8.125 kB / 0.614 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.2442, allocations: 34.75 kB / 0.614 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.2442, allocations: 20.84 kB / 0.614 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.2445, allocations: 166.2 kB / 0.6142 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.2446, allocations: 12.31 kB / 0.6142 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.2446, allocations: 4.375 kB / 0.6142 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2448, allocations: 81.55 kB / 0.6143 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2448, allocations: 0 / 0.6143 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2448, allocations: 4 kB / 0.6143 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.2448, allocations: 7.984 kB / 0.6143 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.98e-05/0.2449, allocations: 35.98 kB / 0.6143 GB, free: 1.133 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.0007196/0.2456, allocations: 339.6 kB / 0.6146 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.2458, allocations: 50.56 kB / 0.6147 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.2458, allocations: 20.98 kB / 0.6147 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.2458, allocations: 8 kB / 0.6147 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.2459, allocations: 30.56 kB / 0.6147 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.2459, allocations: 3.938 kB / 0.6147 GB, free: 0.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002581/0.2461, allocations: 93.47 kB / 0.6148 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.2462, allocations: 51.41 kB / 0.6149 GB, free: 476 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.2464, allocations: 186.3 kB / 0.615 GB, free: 280 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.2464, allocations: 25.7 kB / 0.6151 GB, free: 248 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.602e-05/0.2465, allocations: 116.2 kB / 0.6152 GB, free: 128 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.2465, allocations: 19.86 kB / 0.6152 GB, free: 108 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.2466, allocations: 13.72 kB / 0.6152 GB, free: 88 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.2468, allocations: 330.8 kB / 0.6155 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.308e-05/0.2468, allocations: 11.98 kB / 0.6155 GB, free: 15.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.61e-05/0.2468, allocations: 12 kB / 0.6156 GB, free: 15.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.2472, allocations: 72.77 kB / 0.6156 GB, free: 15.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2472, allocations: 0 / 0.6156 GB, free: 15.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001285/0.2473, allocations: 73.61 kB / 0.6157 GB, free: 15.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2473, allocations: 4 kB / 0.6157 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2473, allocations: 0 / 0.6157 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.2473, allocations: 11.94 kB / 0.6157 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.515e-05/0.2474, allocations: 11.98 kB / 0.6157 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.2474, allocations: 448 / 0.6157 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.2475, allocations: 3.938 kB / 0.6157 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2475, allocations: 4 kB / 0.6157 GB, free: 15.54 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.0002071/0.2477, allocations: 129.4 kB / 0.6159 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.2477, allocations: 15.91 kB / 0.6159 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.2478, allocations: 21.02 kB / 0.6159 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2478, allocations: 3.938 kB / 0.6159 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2478, allocations: 4 kB / 0.6159 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2478, allocations: 0 / 0.6159 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.248, allocations: 168.7 kB / 0.6161 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.248, allocations: 0 / 0.6161 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.811e-05/0.2481, allocations: 8 kB / 0.6161 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2481, allocations: 0 / 0.6161 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2481, allocations: 0 / 0.6161 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.2481, allocations: 7.922 kB / 0.6161 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2481, allocations: 0 / 0.6161 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.2484, allocations: 191.4 kB / 0.6163 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.2485, allocations: 11.94 kB / 0.6163 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.2485, allocations: 8.062 kB / 0.6163 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.2486, allocations: 11.92 kB / 0.6163 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.2486, allocations: 0 / 0.6163 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.2486, allocations: 0 / 0.6163 GB, free: 14.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.2487, allocations: 135.2 kB / 0.6164 GB, free: 14.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2487, allocations: 3.938 kB / 0.6164 GB, free: 14.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.249, allocations: 20 kB / 0.6164 GB, free: 14.75 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.0005684/0.2495, allocations: 0.7164 MB / 0.6171 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.2497, allocations: 44.05 kB / 0.6172 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2497, allocations: 0 / 0.6172 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.108e-05/0.2497, allocations: 16.06 kB / 0.6172 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.2502, allocations: 62.81 kB / 0.6173 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.2525, allocations: 1.708 MB / 0.6189 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.2526, allocations: 94.7 kB / 0.619 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.185e-05/0.2527, allocations: 17.08 kB / 0.619 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.313e-05/0.2528, allocations: 35.42 kB / 0.6191 GB, free: 11.94 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2528, allocations: 0 / 0.6191 GB, free: 11.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.2878, allocations: 3.882 MB / 0.6229 GB, free: 8.207 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.01, allocations: 11.81 kB / 0.6229 GB, free: 8.199 MB / 446.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 & /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: 15.647174527053721] Failed to read output from testmodel.py, exit status != 0: 12.172731609083712 12.190642919 11.943775224 Calling exit ...