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.09229/0.09229, allocations: 15.56 MB / 35.16 MB, free: 4.516 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.001234/0.001234, allocations: 106.9 kB / 42.74 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.001442/0.001442, allocations: 215 kB / 50.42 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.456/1.456, allocations: 230.6 MB / 288.6 MB, free: 6.293 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.1381/0.1381, allocations: 23.73 MB / 373.2 MB, free: 2.926 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: translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") [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.00352/0.00352, allocations: 131.8 kB / 0.5059 GB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2542, allocations: 63.84 MB / 0.5682 GB, free: 14.4 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.06579/0.32, allocations: 23.13 MB / 0.5908 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.321, allocations: 490.7 kB / 0.5913 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.249e-05/0.3211, allocations: 7.938 kB / 0.5913 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.977e-05/0.3212, allocations: 19.78 kB / 0.5913 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.3213, allocations: 63.48 kB / 0.5914 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.3215, allocations: 23.97 kB / 0.5914 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.3216, allocations: 147.1 kB / 0.5915 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3218, allocations: 29.66 kB / 0.5916 GB, free: 6.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.515e-05/0.3218, allocations: 55.73 kB / 0.5916 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.569e-05/0.3219, allocations: 47.72 kB / 0.5917 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.322, allocations: 8 kB / 0.5917 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.591e-05/0.322, allocations: 8 kB / 0.5917 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.322, allocations: 15.94 kB / 0.5917 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.3221, allocations: 55.73 kB / 0.5917 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.3223, allocations: 127.4 kB / 0.5919 GB, free: 6.297 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3223, allocations: 0 / 0.5919 GB, free: 6.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3223, allocations: 4 kB / 0.5919 GB, free: 6.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.3223, allocations: 3.938 kB / 0.5919 GB, free: 6.289 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.0005548/0.3228, allocations: 357.6 kB / 0.5922 GB, free: 5.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3229, allocations: 12.03 kB / 0.5922 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.3229, allocations: 12.84 kB / 0.5922 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.3232, allocations: 182.6 kB / 0.5924 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.3232, allocations: 12.38 kB / 0.5924 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3232, allocations: 4.375 kB / 0.5924 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3234, allocations: 85.06 kB / 0.5925 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3234, allocations: 0 / 0.5925 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.3234, allocations: 0 / 0.5925 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3234, allocations: 4 kB / 0.5925 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.3235, allocations: 35.98 kB / 0.5925 GB, free: 5.543 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.0005099/0.324, allocations: 309.2 kB / 0.5928 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.3241, allocations: 62.48 kB / 0.5929 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/0.3242, allocations: 20.98 kB / 0.5929 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.3242, allocations: 4 kB / 0.5929 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3242, allocations: 30.56 kB / 0.593 GB, free: 5.074 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3242, allocations: 0 / 0.593 GB, free: 5.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002064/0.3244, allocations: 85.53 kB / 0.593 GB, free: 4.984 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.3244, allocations: 51.41 kB / 0.5931 GB, free: 4.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.3246, allocations: 178.4 kB / 0.5933 GB, free: 4.738 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3246, allocations: 29.64 kB / 0.5933 GB, free: 4.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.3247, allocations: 112.2 kB / 0.5934 GB, free: 4.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.3247, allocations: 19.8 kB / 0.5934 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.3248, allocations: 25.7 kB / 0.5934 GB, free: 4.539 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3249, allocations: 318.8 kB / 0.5937 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.3249, allocations: 12 kB / 0.5938 GB, free: 4.207 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.05e-05/0.325, allocations: 8 kB / 0.5938 GB, free: 4.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.3252, allocations: 76.83 kB / 0.5938 GB, free: 4.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3252, allocations: 0 / 0.5938 GB, free: 4.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001195/0.3253, allocations: 74.02 kB / 0.5939 GB, free: 4.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3254, allocations: 8 kB / 0.5939 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3254, allocations: 0 / 0.5939 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3254, allocations: 0 / 0.5939 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.3254, allocations: 16 kB / 0.5939 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3255, allocations: 3.938 kB / 0.5939 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.14e-05/0.3255, allocations: 3.953 kB / 0.5939 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.3255, allocations: 4 kB / 0.5939 GB, free: 4.008 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.000137/0.3256, allocations: 128.5 kB / 0.5941 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.3257, allocations: 11.95 kB / 0.5941 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.3257, allocations: 17.09 kB / 0.5941 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3257, allocations: 3.938 kB / 0.5941 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3257, allocations: 3.938 kB / 0.5941 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3257, allocations: 0 / 0.5941 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.3259, allocations: 145.2 kB / 0.5942 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3259, allocations: 0 / 0.5942 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.6e-05/0.326, allocations: 11.94 kB / 0.5942 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.326, allocations: 0 / 0.5942 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.326, allocations: 4 kB / 0.5942 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.326, allocations: 4 kB / 0.5943 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.326, allocations: 0 / 0.5943 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.3262, allocations: 191.4 kB / 0.5944 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.3262, allocations: 11.94 kB / 0.5944 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.3262, allocations: 4 kB / 0.5944 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.3263, allocations: 7.984 kB / 0.5945 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.855e-05/0.3263, allocations: 3.984 kB / 0.5945 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.3263, allocations: 3.938 kB / 0.5945 GB, free: 3.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.3264, allocations: 136.2 kB / 0.5946 GB, free: 3.277 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3264, allocations: 64 / 0.5946 GB, free: 3.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00023/0.3267, allocations: 24 kB / 0.5946 GB, free: 3.254 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 7.793e-05/0.3268, allocations: 91.19 kB / 0.5947 GB, free: 3.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.3269, allocations: 36.05 kB / 0.5947 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3269, allocations: 0 / 0.5947 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.121e-05/0.3269, allocations: 20.12 kB / 0.5948 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.3273, allocations: 49.69 kB / 0.5948 GB, free: 3.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.3278, allocations: 341.8 kB / 0.5951 GB, free: 2.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.348e-05/0.3279, allocations: 94.28 kB / 0.5952 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.328, allocations: 15.44 kB / 0.5952 GB, free: 2.559 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.328, allocations: 0 / 0.5952 GB, free: 2.559 MB / 414.1 MB Notification: Performance of Templates: time 0.003301/0.3313, allocations: 1.682 MB / 0.5969 GB, free: 0.8867 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.makefile [Timeout 660] (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 & ./Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.805593533907086] Failed to read output from testmodel.py, exit status != 0: 0.3391249692067504 0.35262954399999996 0.027551255 Calling exit ...