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.1041/0.1041, allocations: 15.55 MB / 34.4 MB, free: 4.496 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.001465/0.001465, allocations: 103.6 kB / 41.98 MB, free: 6.184 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.00168/0.00168, allocations: 218.3 kB / 49.68 MB, free: 10.03 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.566/1.566, allocations: 230.6 MB / 287.8 MB, free: 6.305 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.1555/0.1555, allocations: 23.72 MB / 372.4 MB, free: 2.992 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.00392/0.00392, allocations: 128.6 kB / 0.5051 GB, free: 14.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2865, allocations: 63.85 MB / 0.5675 GB, free: 14.45 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.0816/0.3681, allocations: 22.98 MB / 0.5899 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3693, allocations: 450.8 kB / 0.5904 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.3694, allocations: 7.938 kB / 0.5904 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.3695, allocations: 19.8 kB / 0.5904 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.3696, allocations: 39.62 kB / 0.5904 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.456e-05/0.3697, allocations: 15.98 kB / 0.5904 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.3699, allocations: 107.3 kB / 0.5905 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.37, allocations: 21.25 kB / 0.5906 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.233e-05/0.3701, allocations: 43.78 kB / 0.5906 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.3702, allocations: 35.8 kB / 0.5906 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.3702, allocations: 4 kB / 0.5906 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.777e-05/0.3702, allocations: 4 kB / 0.5906 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.3702, allocations: 11.94 kB / 0.5907 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.3703, allocations: 35.8 kB / 0.5907 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.3705, allocations: 91.59 kB / 0.5908 GB, free: 6.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3705, allocations: 0 / 0.5908 GB, free: 6.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3705, allocations: 4 kB / 0.5908 GB, free: 6.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3705, allocations: 7.938 kB / 0.5908 GB, free: 6.688 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.0005119/0.371, allocations: 329.8 kB / 0.5911 GB, free: 6.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3711, allocations: 11.97 kB / 0.5911 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.3711, allocations: 16.84 kB / 0.5911 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.3714, allocations: 158.2 kB / 0.5913 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3714, allocations: 8.375 kB / 0.5913 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.3714, allocations: 8.312 kB / 0.5913 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3715, allocations: 73.92 kB / 0.5914 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3715, allocations: 0 / 0.5914 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3716, allocations: 0 / 0.5914 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3716, allocations: 0 / 0.5914 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.3716, allocations: 20 kB / 0.5914 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.3721, allocations: 414.9 kB / 0.5918 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.3722, allocations: 165.1 kB / 0.5919 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.3723, allocations: 80.14 kB / 0.592 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.3723, allocations: 79.22 kB / 0.5921 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/0.3724, allocations: 113.8 kB / 0.5922 GB, free: 5.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3724, allocations: 4 kB / 0.5922 GB, free: 5.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.696e-05/0.3725, allocations: 33.66 kB / 0.5922 GB, free: 5.082 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.3726, allocations: 130.7 kB / 0.5924 GB, free: 4.941 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3727, allocations: 160.2 kB / 0.5925 GB, free: 4.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3727, allocations: 25.81 kB / 0.5925 GB, free: 4.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.664e-05/0.3728, allocations: 127.9 kB / 0.5927 GB, free: 4.609 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.3728, allocations: 0 / 0.5927 GB, free: 4.609 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.3729, allocations: 21.75 kB / 0.5927 GB, free: 4.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.373, allocations: 318.8 kB / 0.593 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.373, allocations: 4 kB / 0.593 GB, free: 4.258 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087e-05/0.373, allocations: 7.938 kB / 0.593 GB, free: 4.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.994e-05/0.3731, allocations: 8.859 kB / 0.593 GB, free: 4.238 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3731, allocations: 0 / 0.593 GB, free: 4.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001023/0.3732, allocations: 41.66 kB / 0.593 GB, free: 4.191 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3732, allocations: 4 kB / 0.593 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3732, allocations: 0 / 0.593 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3732, allocations: 4 kB / 0.5931 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.426e-05/0.3733, allocations: 0 / 0.5931 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.3733, allocations: 7.922 kB / 0.5931 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.3733, allocations: 3.953 kB / 0.5931 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.3733, allocations: 4.094 kB / 0.5931 GB, free: 4.168 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.0001184/0.3734, allocations: 201 kB / 0.5933 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.563e-05/0.3735, allocations: 108.9 kB / 0.5934 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.3736, allocations: 125.3 kB / 0.5935 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.248e-05/0.3737, allocations: 180.2 kB / 0.5937 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-05/0.3737, allocations: 184.1 kB / 0.5938 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-05/0.3738, allocations: 180.3 kB / 0.594 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.3741, allocations: 380.8 kB / 0.5944 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-05/0.3741, allocations: 105 kB / 0.5945 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.3742, allocations: 108.9 kB / 0.5946 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-05/0.3743, allocations: 180.3 kB / 0.5947 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-05/0.3743, allocations: 184.2 kB / 0.5949 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.994e-05/0.3744, allocations: 180.3 kB / 0.5951 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.267e-05/0.3745, allocations: 176.3 kB / 0.5953 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.3747, allocations: 315.6 kB / 0.5956 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.3747, allocations: 120.9 kB / 0.5957 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.49e-05/0.3748, allocations: 184.3 kB / 0.5958 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3749, allocations: 105 kB / 0.5959 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/0.375, allocations: 180.2 kB / 0.5961 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/0.3751, allocations: 108.9 kB / 0.5962 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3752, allocations: 124.8 kB / 0.5963 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3752, allocations: 4 kB / 0.5963 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.3754, allocations: 16 kB / 0.5964 GB, free: 0.6016 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.0001251/0.3755, allocations: 166.5 kB / 0.5965 GB, free: 436 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.695e-05/0.3756, allocations: 7.938 kB / 0.5965 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3756, allocations: 0 / 0.5965 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3756, allocations: 0 / 0.5965 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006141/0.3762, allocations: 0.496 MB / 0.597 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.3767, allocations: 288.3 kB / 0.5973 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.282e-05/0.3768, allocations: 84.19 kB / 0.5974 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.29e-05/0.3768, allocations: 8.422 kB / 0.5974 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.3768, allocations: 7.438 kB / 0.5974 GB, free: 15.5 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3768, allocations: 0 / 0.5974 GB, free: 15.5 MB / 430.1 MB Notification: Performance of Templates: time 0.004177/0.381, allocations: 1.398 MB / 0.5987 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: 4.9235251769423485] Failed to read output from testmodel.py, exit status != 0: 0.38982293382287025 0.404854933 0.031190572000000003 Calling exit ...