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.099/0.099, allocations: 15.56 MB / 34.41 MB, free: 4.492 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.001377/0.001377, allocations: 101.9 kB / 41.98 MB, free: 6.176 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.001659/0.001659, allocations: 219.5 kB / 49.68 MB, free: 10.01 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.531/1.531, allocations: 230.6 MB / 287.8 MB, free: 6.352 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.1506/0.1506, allocations: 23.72 MB / 372.4 MB, free: 2.949 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.003799/0.003799, allocations: 127.8 kB / 0.5051 GB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2637, allocations: 63.85 MB / 0.5675 GB, free: 14.46 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.06982/0.3335, allocations: 23.14 MB / 0.5901 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3346, allocations: 494.8 kB / 0.5906 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.824e-05/0.3347, allocations: 7.938 kB / 0.5906 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.3348, allocations: 19.78 kB / 0.5906 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.335, allocations: 55.5 kB / 0.5906 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.3351, allocations: 19.97 kB / 0.5907 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.3353, allocations: 155 kB / 0.5908 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3354, allocations: 29.67 kB / 0.5908 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.3355, allocations: 51.8 kB / 0.5909 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.937e-05/0.3356, allocations: 51.72 kB / 0.5909 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.3356, allocations: 8 kB / 0.5909 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.625e-05/0.3356, allocations: 8 kB / 0.5909 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.3356, allocations: 19.88 kB / 0.591 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.3357, allocations: 51.78 kB / 0.591 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3359, allocations: 123.4 kB / 0.5911 GB, free: 6.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3359, allocations: 0 / 0.5911 GB, free: 6.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3359, allocations: 0 / 0.5911 GB, free: 6.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.3359, allocations: 0 / 0.5911 GB, free: 6.34 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.0005681/0.3365, allocations: 369.6 kB / 0.5915 GB, free: 5.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.3365, allocations: 8.031 kB / 0.5915 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.3366, allocations: 16.84 kB / 0.5915 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.3368, allocations: 174.6 kB / 0.5917 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.3368, allocations: 12.38 kB / 0.5917 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.3369, allocations: 4.375 kB / 0.5917 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.337, allocations: 81.08 kB / 0.5918 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.337, allocations: 0 / 0.5918 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3371, allocations: 8 kB / 0.5918 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.3371, allocations: 4 kB / 0.5918 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.3371, allocations: 35.98 kB / 0.5918 GB, free: 5.586 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.0005264/0.3377, allocations: 309.1 kB / 0.5921 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.3378, allocations: 54.5 kB / 0.5922 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.3378, allocations: 24.98 kB / 0.5922 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.3379, allocations: 0 / 0.5922 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3379, allocations: 30.56 kB / 0.5922 GB, free: 5.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 2.725e-06/0.3379, allocations: 11.92 kB / 0.5922 GB, free: 5.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002044/0.3381, allocations: 81.59 kB / 0.5923 GB, free: 5.027 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.3381, allocations: 59.34 kB / 0.5924 GB, free: 4.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.3383, allocations: 170.4 kB / 0.5925 GB, free: 4.781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3383, allocations: 29.7 kB / 0.5926 GB, free: 4.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.3384, allocations: 112.2 kB / 0.5927 GB, free: 4.633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.3384, allocations: 19.8 kB / 0.5927 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.3385, allocations: 21.7 kB / 0.5927 GB, free: 4.586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3386, allocations: 322.8 kB / 0.593 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.878e-05/0.3386, allocations: 11.98 kB / 0.593 GB, free: 4.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.3387, allocations: 16 kB / 0.593 GB, free: 4.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.3389, allocations: 64.83 kB / 0.5931 GB, free: 4.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3389, allocations: 0 / 0.5931 GB, free: 4.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001217/0.339, allocations: 78.03 kB / 0.5932 GB, free: 4.086 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3391, allocations: 7.984 kB / 0.5932 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3391, allocations: 0 / 0.5932 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3391, allocations: 0 / 0.5932 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.3392, allocations: 8 kB / 0.5932 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3392, allocations: 7.938 kB / 0.5932 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.3392, allocations: 15.89 kB / 0.5932 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.3392, allocations: 0 / 0.5932 GB, free: 4.047 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.0001437/0.3394, allocations: 124.5 kB / 0.5933 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.3394, allocations: 11.94 kB / 0.5933 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.3394, allocations: 13.09 kB / 0.5933 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3394, allocations: 0 / 0.5933 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3394, allocations: 3.938 kB / 0.5934 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3394, allocations: 0 / 0.5934 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.3396, allocations: 153.2 kB / 0.5935 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3396, allocations: 4 kB / 0.5935 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/0.3397, allocations: 7.938 kB / 0.5935 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3397, allocations: 4 kB / 0.5935 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3397, allocations: 0 / 0.5935 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3397, allocations: 0 / 0.5935 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3397, allocations: 3.984 kB / 0.5935 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.34, allocations: 191.4 kB / 0.5937 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.34, allocations: 15.94 kB / 0.5937 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.34, allocations: 0 / 0.5937 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.3401, allocations: 0 / 0.5937 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.3401, allocations: 3.984 kB / 0.5937 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.3401, allocations: 12 kB / 0.5937 GB, free: 3.453 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.3402, allocations: 128.3 kB / 0.5939 GB, free: 3.328 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3402, allocations: 3.938 kB / 0.5939 GB, free: 3.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.3405, allocations: 24 kB / 0.5939 GB, free: 3.301 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 8.849e-05/0.3406, allocations: 95.19 kB / 0.594 GB, free: 3.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.3407, allocations: 27.98 kB / 0.594 GB, free: 3.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3407, allocations: 0 / 0.594 GB, free: 3.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.3407, allocations: 16.19 kB / 0.594 GB, free: 3.152 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.3411, allocations: 61.42 kB / 0.5941 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.3417, allocations: 308.1 kB / 0.5944 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.678e-05/0.3418, allocations: 94.28 kB / 0.5945 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.3418, allocations: 8.969 kB / 0.5945 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.3419, allocations: 15.44 kB / 0.5945 GB, free: 2.633 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3419, allocations: 0 / 0.5945 GB, free: 2.633 MB / 414.1 MB Notification: Performance of Templates: time 0.004658/0.3465, allocations: 1.775 MB / 0.5962 GB, free: 0.8945 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: 4.910125697031617] Failed to read output from testmodel.py, exit status != 0: 0.35471121966838837 0.369426412 0.030447048 Calling exit ...