Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.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.0961/0.0961, allocations: 15.56 MB / 35.16 MB, free: 4.48 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.00125/0.00125, allocations: 101.8 kB / 42.73 MB, free: 6.156 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.001463/0.001463, allocations: 215.7 kB / 50.42 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.442/1.442, allocations: 230.6 MB / 288.6 MB, free: 6.379 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.1399/0.1399, allocations: 23.72 MB / 373.2 MB, free: 2.969 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.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") [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.003502/0.003502, allocations: 127.8 kB / 0.5059 GB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.312, allocations: 63.84 MB / 0.5682 GB, free: 14.41 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.SkinHeatFlow): time 0.06688/0.3789, allocations: 22.99 MB / 0.5907 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009773/0.3799, allocations: 454.9 kB / 0.5911 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.38, allocations: 3.938 kB / 0.5911 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.764e-05/0.3801, allocations: 15.86 kB / 0.5911 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.712e-05/0.3802, allocations: 51.56 kB / 0.5912 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.617e-05/0.3802, allocations: 11.98 kB / 0.5912 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3804, allocations: 103.4 kB / 0.5913 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3805, allocations: 17.3 kB / 0.5913 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.299e-05/0.3806, allocations: 47.72 kB / 0.5914 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.042e-05/0.3806, allocations: 35.8 kB / 0.5914 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.3806, allocations: 4 kB / 0.5914 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/0.3807, allocations: 4 kB / 0.5914 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.3807, allocations: 7.938 kB / 0.5914 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.3807, allocations: 43.8 kB / 0.5914 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.3809, allocations: 83.61 kB / 0.5915 GB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3809, allocations: 4 kB / 0.5915 GB, free: 6.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3809, allocations: 0 / 0.5915 GB, free: 6.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3809, allocations: 0 / 0.5915 GB, free: 6.648 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004553/0.3813, allocations: 333.8 kB / 0.5918 GB, free: 6.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3814, allocations: 8.031 kB / 0.5919 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3814, allocations: 20.83 kB / 0.5919 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.3816, allocations: 162.2 kB / 0.592 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.3816, allocations: 4.375 kB / 0.592 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.3817, allocations: 12.38 kB / 0.592 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3818, allocations: 65.88 kB / 0.5921 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3818, allocations: 0 / 0.5921 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3818, allocations: 4 kB / 0.5921 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3818, allocations: 3.984 kB / 0.5921 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.78e-05/0.3819, allocations: 20 kB / 0.5921 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.3823, allocations: 406.9 kB / 0.5925 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.799e-05/0.3824, allocations: 169.1 kB / 0.5927 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.3824, allocations: 80.14 kB / 0.5928 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.3825, allocations: 79.28 kB / 0.5928 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.607e-05/0.3825, allocations: 113.8 kB / 0.5929 GB, free: 5.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3825, allocations: 3.938 kB / 0.5929 GB, free: 5.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.893e-05/0.3826, allocations: 33.66 kB / 0.593 GB, free: 5.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.3827, allocations: 126.7 kB / 0.5931 GB, free: 4.902 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3828, allocations: 164.2 kB / 0.5933 GB, free: 4.727 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3829, allocations: 25.7 kB / 0.5933 GB, free: 4.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.3829, allocations: 127.9 kB / 0.5934 GB, free: 4.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.3829, allocations: 0 / 0.5934 GB, free: 4.566 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.383, allocations: 13.75 kB / 0.5934 GB, free: 4.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3831, allocations: 322.8 kB / 0.5937 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.3831, allocations: 3.984 kB / 0.5937 GB, free: 4.219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-06/0.3831, allocations: 4 kB / 0.5937 GB, free: 4.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/0.3832, allocations: 12.8 kB / 0.5937 GB, free: 4.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3832, allocations: 4 kB / 0.5937 GB, free: 4.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.567e-05/0.3833, allocations: 37.77 kB / 0.5938 GB, free: 4.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3833, allocations: 7.938 kB / 0.5938 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3833, allocations: 0 / 0.5938 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.3833, allocations: 0 / 0.5938 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.662e-05/0.3833, allocations: 8.094 kB / 0.5938 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3834, allocations: 3.938 kB / 0.5938 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.363e-05/0.3834, allocations: 4 kB / 0.5938 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.3834, allocations: 0 / 0.5938 GB, free: 4.129 MB / 414.1 MB 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 (1): * Single equations (assignments): 1 * 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.0001158/0.3835, allocations: 193 kB / 0.594 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-05/0.3836, allocations: 124.8 kB / 0.5941 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.3837, allocations: 113.3 kB / 0.5942 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.742e-05/0.3837, allocations: 184.2 kB / 0.5944 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.968e-05/0.3838, allocations: 188.2 kB / 0.5946 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.171e-05/0.3839, allocations: 180.3 kB / 0.5947 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.3841, allocations: 380.8 kB / 0.5951 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.542e-05/0.3842, allocations: 101 kB / 0.5952 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.3842, allocations: 112.9 kB / 0.5953 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.881e-05/0.3843, allocations: 180.2 kB / 0.5955 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.486e-05/0.3844, allocations: 176.3 kB / 0.5956 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.058e-05/0.3845, allocations: 184.2 kB / 0.5958 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.496e-05/0.3846, allocations: 176.3 kB / 0.596 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3847, allocations: 319.6 kB / 0.5963 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.3848, allocations: 116.9 kB / 0.5964 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.3849, allocations: 184.2 kB / 0.5966 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.85e-05/0.385, allocations: 109 kB / 0.5967 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.214e-05/0.3851, allocations: 188.2 kB / 0.5969 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.3851, allocations: 104.9 kB / 0.597 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.3852, allocations: 124.9 kB / 0.5971 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3852, allocations: 0 / 0.5971 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.3854, allocations: 15.94 kB / 0.5971 GB, free: 0.5586 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001178/0.3856, allocations: 166.5 kB / 0.5973 GB, free: 392 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.961e-05/0.3856, allocations: 7.938 kB / 0.5973 GB, free: 384 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.3856, allocations: 0 / 0.5973 GB, free: 384 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.3856, allocations: 0 / 0.5973 GB, free: 384 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.3862, allocations: 0.49 MB / 0.5977 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.3866, allocations: 310 kB / 0.598 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.128e-05/0.3867, allocations: 84.14 kB / 0.5981 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.3868, allocations: 15.36 kB / 0.5981 GB, free: 15.43 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3868, allocations: 4 kB / 0.5981 GB, free: 15.43 MB / 430.1 MB Notification: Performance of Templates: time 0.002851/0.3896, allocations: 1.297 MB / 0.5994 GB, free: 14.14 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.810978643130511] Failed to read output from testmodel.py, exit status != 0: 0.39752281503751874 0.41097266200000004 0.027250471000000002 Calling exit ...