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.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09354/0.09354, allocations: 15.53 MB / 32.54 MB, free: 3.457 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 107.5 kB / 39.78 MB, free: 1.117 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 200.9 kB / 47.14 MB, free: 2.48 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 279.9 MB, free: 15.37 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.1447/0.1447, allocations: 23.73 MB / 362.9 MB, free: 0.7852 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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: Performance of FrontEnd - loaded program: time 0.003349/0.003349, allocations: 115.8 kB / 0.4919 GB, free: 24.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.1004, allocations: 62.64 MB / 0.5531 GB, free: 9.906 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.03291/0.1333, allocations: 22.64 MB / 0.5752 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1346, allocations: 438.9 kB / 0.5756 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.1347, allocations: 3.938 kB / 0.5756 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.1348, allocations: 19.8 kB / 0.5757 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.1349, allocations: 43.62 kB / 0.5757 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.192e-05/0.135, allocations: 7.984 kB / 0.5757 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1352, allocations: 111.4 kB / 0.5758 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1354, allocations: 28.78 kB / 0.5758 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.1354, allocations: 43.8 kB / 0.5759 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.814e-05/0.1355, allocations: 31.8 kB / 0.5759 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.1355, allocations: 4 kB / 0.5759 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.197e-05/0.1355, allocations: 8 kB / 0.5759 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.1356, allocations: 15.88 kB / 0.5759 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.1356, allocations: 43.75 kB / 0.576 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.1358, allocations: 87.59 kB / 0.5761 GB, free: 2.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1358, allocations: 4 kB / 0.5761 GB, free: 2.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1358, allocations: 4 kB / 0.5761 GB, free: 2.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1358, allocations: 0 / 0.5761 GB, free: 2.469 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.0005592/0.1364, allocations: 406.9 kB / 0.5765 GB, free: 2.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1364, allocations: 8.031 kB / 0.5765 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.1364, allocations: 16.84 kB / 0.5765 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.1367, allocations: 217.9 kB / 0.5767 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1367, allocations: 8.375 kB / 0.5767 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1368, allocations: 8.312 kB / 0.5767 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1369, allocations: 62 kB / 0.5768 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.1369, allocations: 3.938 kB / 0.5768 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1369, allocations: 0 / 0.5768 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1369, allocations: 3.938 kB / 0.5768 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.558e-05/0.137, allocations: 23.98 kB / 0.5768 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.1375, allocations: 491.1 kB / 0.5773 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.694e-05/0.1376, allocations: 169.1 kB / 0.5774 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.1377, allocations: 80.14 kB / 0.5775 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.1377, allocations: 79.22 kB / 0.5776 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.1378, allocations: 105.8 kB / 0.5777 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1378, allocations: 4 kB / 0.5777 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001147/0.1379, allocations: 49.59 kB / 0.5777 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.138, allocations: 130.6 kB / 0.5779 GB, free: 468 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.1382, allocations: 183.1 kB / 0.578 GB, free: 268 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1382, allocations: 25.7 kB / 0.5781 GB, free: 236 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.1383, allocations: 112.1 kB / 0.5782 GB, free: 120 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-06/0.1383, allocations: 3.984 kB / 0.5782 GB, free: 116 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.1383, allocations: 13.72 kB / 0.5782 GB, free: 96 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1384, allocations: 326.8 kB / 0.5785 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.1384, allocations: 0 / 0.5785 GB, free: 15.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.1385, allocations: 3.938 kB / 0.5785 GB, free: 15.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.1385, allocations: 12.86 kB / 0.5785 GB, free: 15.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1385, allocations: 0 / 0.5785 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001029/0.1386, allocations: 41.66 kB / 0.5786 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.1386, allocations: 4 kB / 0.5786 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1386, allocations: 96 / 0.5786 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1386, allocations: 4 kB / 0.5786 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.561e-05/0.1387, allocations: 7.938 kB / 0.5786 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1387, allocations: 0 / 0.5786 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.102e-05/0.1387, allocations: 7.938 kB / 0.5786 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1387, allocations: 3.984 kB / 0.5786 GB, free: 15.67 MB / 430.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.0001143/0.1388, allocations: 197.1 kB / 0.5788 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.1389, allocations: 120.9 kB / 0.5789 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.373e-05/0.139, allocations: 117.5 kB / 0.579 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.566e-05/0.1391, allocations: 188.2 kB / 0.5792 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-05/0.1391, allocations: 180.3 kB / 0.5793 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.158e-05/0.1392, allocations: 176.3 kB / 0.5795 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.1395, allocations: 437.1 kB / 0.5799 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-05/0.1396, allocations: 105 kB / 0.58 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.1396, allocations: 112.9 kB / 0.5801 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.129e-05/0.1397, allocations: 180.3 kB / 0.5803 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.095e-05/0.1398, allocations: 180.2 kB / 0.5805 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.372e-05/0.1398, allocations: 184.2 kB / 0.5807 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-05/0.1399, allocations: 180.2 kB / 0.5808 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.1401, allocations: 323.7 kB / 0.5811 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/0.1402, allocations: 190 kB / 0.5813 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.1403, allocations: 184.2 kB / 0.5815 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1404, allocations: 104.9 kB / 0.5816 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.1405, allocations: 184.2 kB / 0.5818 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.1405, allocations: 105 kB / 0.5819 GB, free: 12.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1406, allocations: 141.2 kB / 0.582 GB, free: 11.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1406, allocations: 0 / 0.582 GB, free: 11.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.1409, allocations: 15.94 kB / 0.582 GB, free: 11.92 MB / 430.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.0001113/0.141, allocations: 166.5 kB / 0.5822 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.1411, allocations: 7.938 kB / 0.5822 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1411, allocations: 64 / 0.5822 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.1411, allocations: 4 kB / 0.5822 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.1417, allocations: 0.4909 MB / 0.5827 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.1421, allocations: 305.6 kB / 0.583 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1424, allocations: 0.7002 MB / 0.5836 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.1424, allocations: 11.44 kB / 0.5837 GB, free: 10.17 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1424, allocations: 0 / 0.5837 GB, free: 10.17 MB / 430.1 MB Notification: Performance of Templates: time 0.00329/0.1457, allocations: 1.477 MB / 0.5851 GB, free: 8.715 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: 7.211248168954626] Failed to read output from testmodel.py, exit status != 0: 0.15254843095317483 0.35251130199999997 0.21413554199999996 Calling exit ...