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.09061/0.09061, allocations: 15.52 MB / 31.86 MB, free: 3.883 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.00119/0.00119, allocations: 111 kB / 39.12 MB, free: 1.148 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.00142/0.00142, allocations: 208.9 kB / 46.48 MB, free: 2.508 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.401/1.401, allocations: 225.6 MB / 279.3 MB, free: 15.34 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.1392/0.1392, allocations: 23.73 MB / 362.3 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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00314/0.00314, allocations: 123.8 kB / 0.4908 GB, free: 25.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09816/0.1013, allocations: 62.64 MB / 0.552 GB, free: 10.4 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.04614/0.1474, allocations: 22.64 MB / 0.5741 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.1484, allocations: 438.9 kB / 0.5745 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.1485, allocations: 0 / 0.5745 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1486, allocations: 23.78 kB / 0.5745 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.593e-05/0.1487, allocations: 39.64 kB / 0.5746 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.285e-05/0.1488, allocations: 15.98 kB / 0.5746 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1489, allocations: 107.3 kB / 0.5747 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.149, allocations: 24.8 kB / 0.5747 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.728e-05/0.1491, allocations: 43.86 kB / 0.5747 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.1492, allocations: 31.8 kB / 0.5748 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.1492, allocations: 4 kB / 0.5748 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.502e-05/0.1492, allocations: 11.94 kB / 0.5748 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.1492, allocations: 15.92 kB / 0.5748 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.1493, allocations: 43.75 kB / 0.5748 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.1494, allocations: 91.53 kB / 0.5749 GB, free: 2.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1494, allocations: 4 kB / 0.5749 GB, free: 2.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1494, allocations: 0 / 0.5749 GB, free: 2.965 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1495, allocations: 0 / 0.5749 GB, free: 2.965 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.000519/0.15, allocations: 406.9 kB / 0.5753 GB, free: 2.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.15, allocations: 8.031 kB / 0.5753 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.15, allocations: 38.75 kB / 0.5754 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.1501, allocations: 12.84 kB / 0.5754 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.1503, allocations: 221.8 kB / 0.5756 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1504, allocations: 4.375 kB / 0.5756 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1504, allocations: 12.38 kB / 0.5756 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1505, allocations: 57.75 kB / 0.5757 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1505, allocations: 3.938 kB / 0.5757 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1505, allocations: 4 kB / 0.5757 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1505, allocations: 7.984 kB / 0.5757 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.556e-05/0.1506, allocations: 23.98 kB / 0.5757 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.1511, allocations: 479.1 kB / 0.5762 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.465e-05/0.1512, allocations: 177 kB / 0.5763 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.1512, allocations: 84.14 kB / 0.5764 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.1512, allocations: 79.28 kB / 0.5765 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.1513, allocations: 105.8 kB / 0.5766 GB, free: 1.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1513, allocations: 0 / 0.5766 GB, free: 1.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.455e-05/0.1514, allocations: 57.47 kB / 0.5766 GB, free: 1.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.1514, allocations: 130.7 kB / 0.5768 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.1516, allocations: 179.1 kB / 0.5769 GB, free: 0.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.1516, allocations: 25.7 kB / 0.577 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.1517, allocations: 112.1 kB / 0.5771 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.1517, allocations: 0 / 0.5771 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.1518, allocations: 13.72 kB / 0.5771 GB, free: 0.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1519, allocations: 326.8 kB / 0.5774 GB, free: 220 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.1519, allocations: 0 / 0.5774 GB, free: 220 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.1519, allocations: 4 kB / 0.5774 GB, free: 216 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.1519, allocations: 8.859 kB / 0.5774 GB, free: 204 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1519, allocations: 4 kB / 0.5774 GB, free: 200 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001068/0.152, allocations: 41.59 kB / 0.5774 GB, free: 152 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.152, allocations: 8 kB / 0.5775 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1521, allocations: 4 kB / 0.5775 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1521, allocations: 4.031 kB / 0.5775 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.201e-05/0.1521, allocations: 4 kB / 0.5775 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.1521, allocations: 0 / 0.5775 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.226e-05/0.1522, allocations: 12.05 kB / 0.5775 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.1522, allocations: 3.938 kB / 0.5775 GB, free: 116 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.0001294/0.1523, allocations: 193.1 kB / 0.5777 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.1524, allocations: 108.9 kB / 0.5778 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/0.1524, allocations: 121.5 kB / 0.5779 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.096e-05/0.1525, allocations: 188.2 kB / 0.5781 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-05/0.1526, allocations: 180.3 kB / 0.5782 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.92e-05/0.1526, allocations: 180.2 kB / 0.5784 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.1529, allocations: 433.2 kB / 0.5788 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.172e-05/0.153, allocations: 108.9 kB / 0.5789 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.153, allocations: 109 kB / 0.579 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.506e-05/0.1531, allocations: 180.2 kB / 0.5792 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.764e-05/0.1531, allocations: 176.3 kB / 0.5794 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.075e-05/0.1532, allocations: 184.2 kB / 0.5795 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.924e-05/0.1533, allocations: 180.2 kB / 0.5797 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.1534, allocations: 323.7 kB / 0.58 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.751e-05/0.1535, allocations: 190 kB / 0.5802 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.732e-05/0.1536, allocations: 180.2 kB / 0.5804 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1537, allocations: 108.9 kB / 0.5805 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.1538, allocations: 184.2 kB / 0.5807 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.1539, allocations: 112.9 kB / 0.5808 GB, free: 12.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.154, allocations: 137.2 kB / 0.5809 GB, free: 12.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.154, allocations: 0 / 0.5809 GB, free: 12.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.1542, allocations: 15.94 kB / 0.5809 GB, free: 12.38 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.0004195/0.1546, allocations: 0.8087 MB / 0.5817 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.907e-05/0.1547, allocations: 7.938 kB / 0.5817 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1547, allocations: 0 / 0.5817 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/0.1547, allocations: 3.984 kB / 0.5817 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.1553, allocations: 0.4989 MB / 0.5822 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.1568, allocations: 1.643 MB / 0.5838 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1571, allocations: 0.6963 MB / 0.5845 GB, free: 8.582 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.744e-05/0.1571, allocations: 20.62 kB / 0.5845 GB, free: 8.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.1572, allocations: 31.52 kB / 0.5845 GB, free: 8.531 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1572, allocations: 3.938 kB / 0.5845 GB, free: 8.527 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.1819, allocations: 3.056 MB / 0.5875 GB, free: 5.539 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/7.999, allocations: 0.9375 kB / 0.5875 GB, free: 5.539 MB / 430.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.903595373034477] Failed to read output from testmodel.py, exit status != 0: 8.068458028137684 8.282657592 8.130884552 Calling exit ...