Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.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.08966/0.08966, allocations: 15.52 MB / 32.54 MB, free: 3.473 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.001232/0.001232, allocations: 111.4 kB / 39.78 MB, free: 1.121 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.001566/0.001566, allocations: 200.9 kB / 47.14 MB, free: 2.484 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.425/1.425, allocations: 225.6 MB / 279.9 MB, free: 15.33 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.1468/0.1468, allocations: 23.72 MB / 362.9 MB, free: 4.672 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.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003458/0.003458, allocations: 115.8 kB / 0.4919 GB, free: 25.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09286/0.09632, allocations: 62.63 MB / 0.5531 GB, free: 10.42 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.SkinHeatTransferOnBloodFlow): time 0.03215/0.1285, allocations: 22.65 MB / 0.5752 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008802/0.1294, allocations: 442.8 kB / 0.5756 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.264e-05/0.1294, allocations: 4 kB / 0.5756 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.1295, allocations: 15.8 kB / 0.5757 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.1297, allocations: 51.56 kB / 0.5757 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.779e-05/0.1297, allocations: 11.98 kB / 0.5757 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1299, allocations: 111.3 kB / 0.5758 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.13, allocations: 24.8 kB / 0.5758 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.843e-05/0.13, allocations: 35.86 kB / 0.5759 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.1301, allocations: 35.8 kB / 0.5759 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1301, allocations: 4 kB / 0.5759 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.1301, allocations: 4 kB / 0.5759 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.1302, allocations: 19.88 kB / 0.5759 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.1302, allocations: 47.69 kB / 0.576 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.1304, allocations: 95.58 kB / 0.5761 GB, free: 2.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1304, allocations: 0 / 0.5761 GB, free: 2.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1304, allocations: 0 / 0.5761 GB, free: 2.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1304, allocations: 0 / 0.5761 GB, free: 2.957 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.0004896/0.1309, allocations: 402.9 kB / 0.5765 GB, free: 2.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1309, allocations: 12.03 kB / 0.5765 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.1309, allocations: 16.83 kB / 0.5765 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.1312, allocations: 221.9 kB / 0.5767 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1312, allocations: 8.375 kB / 0.5767 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.1312, allocations: 4.375 kB / 0.5767 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1314, allocations: 58 kB / 0.5768 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1314, allocations: 3.984 kB / 0.5768 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1314, allocations: 4 kB / 0.5768 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1314, allocations: 3.938 kB / 0.5768 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.335e-05/0.1314, allocations: 27.98 kB / 0.5768 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.1319, allocations: 479.1 kB / 0.5773 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.88e-05/0.132, allocations: 177.1 kB / 0.5774 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.1321, allocations: 80.14 kB / 0.5775 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.1321, allocations: 79.28 kB / 0.5776 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/0.1322, allocations: 105.8 kB / 0.5777 GB, free: 1.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1322, allocations: 0 / 0.5777 GB, free: 1.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.277e-05/0.1322, allocations: 49.53 kB / 0.5777 GB, free: 1.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.1323, allocations: 134.6 kB / 0.5779 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1325, allocations: 179.1 kB / 0.578 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1325, allocations: 25.7 kB / 0.5781 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.1326, allocations: 120.1 kB / 0.5782 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.1326, allocations: 0 / 0.5782 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.1326, allocations: 9.719 kB / 0.5782 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1328, allocations: 322.8 kB / 0.5785 GB, free: 268 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.1328, allocations: 0 / 0.5785 GB, free: 268 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.1328, allocations: 4 kB / 0.5785 GB, free: 264 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.1328, allocations: 12.86 kB / 0.5785 GB, free: 248 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1328, allocations: 4 kB / 0.5785 GB, free: 244 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001004/0.1329, allocations: 45.59 kB / 0.5786 GB, free: 192 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1329, allocations: 8 kB / 0.5786 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1329, allocations: 0 / 0.5786 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1329, allocations: 0 / 0.5786 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.599e-05/0.133, allocations: 3.938 kB / 0.5786 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.133, allocations: 3.984 kB / 0.5786 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.133, allocations: 7.953 kB / 0.5786 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.133, allocations: 0 / 0.5786 GB, free: 168 kB / 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.000125/0.1331, allocations: 197.2 kB / 0.5788 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.1332, allocations: 116.9 kB / 0.5789 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.1333, allocations: 117.5 kB / 0.579 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.891e-05/0.1334, allocations: 188.2 kB / 0.5792 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.141e-05/0.1334, allocations: 180.3 kB / 0.5793 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-05/0.1335, allocations: 184.2 kB / 0.5795 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.1338, allocations: 437.2 kB / 0.5799 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.56e-05/0.1339, allocations: 104.9 kB / 0.58 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.1339, allocations: 105 kB / 0.5801 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-05/0.134, allocations: 180.2 kB / 0.5803 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.301e-05/0.134, allocations: 180.3 kB / 0.5805 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.482e-05/0.1341, allocations: 188.2 kB / 0.5807 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.986e-05/0.1342, allocations: 180.2 kB / 0.5808 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.1343, allocations: 315.7 kB / 0.5811 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.766e-05/0.1344, allocations: 190 kB / 0.5813 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/0.1345, allocations: 180.2 kB / 0.5815 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1346, allocations: 112.9 kB / 0.5816 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.1347, allocations: 180.3 kB / 0.5818 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.1348, allocations: 108.9 kB / 0.5819 GB, free: 12.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1349, allocations: 141.2 kB / 0.582 GB, free: 12.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1349, allocations: 0 / 0.582 GB, free: 12.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.1351, allocations: 15.94 kB / 0.582 GB, free: 12.42 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.0001024/0.1352, allocations: 166.5 kB / 0.5822 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.905e-05/0.1353, allocations: 4 kB / 0.5822 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1353, allocations: 0 / 0.5822 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.1353, allocations: 0 / 0.5822 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.1359, allocations: 0.5087 MB / 0.5827 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.1363, allocations: 305.6 kB / 0.583 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1365, allocations: 0.7001 MB / 0.5837 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.1366, allocations: 15.44 kB / 0.5837 GB, free: 10.66 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1366, allocations: 0 / 0.5837 GB, free: 10.66 MB / 430.1 MB Notification: Performance of Templates: time 0.003062/0.1396, allocations: 1.461 MB / 0.5851 GB, free: 9.207 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.415742839919403] Failed to read output from testmodel.py, exit status != 0: 0.14637295808643103 0.334773072 0.20168992600000002 Calling exit ...