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.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.04865/0.04865, allocations: 11.16 MB / 30.34 MB, free: 5.059 MB / 24.77 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.0007275/0.0007275, allocations: 84.02 kB / 37.93 MB, free: 7.422 MB / 33.03 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.0008073/0.0008073, allocations: 164.5 kB / 45.64 MB, free: 10.84 MB / 44.04 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 0.8372/0.8372, allocations: 177.2 MB / 230.4 MB, free: 6.5 MB / 202.7 MB " [Timeout remaining time 179] 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.1957/0.1957, allocations: 17.62 MB / 308.9 MB, free: 1.738 MB / 266.7 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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 453.3 MB, free: 5.898 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.359e-05, allocations: 2.281 kB / 453.3 MB, free: 5.895 MB / 410.7 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.2764/0.2764, allocations: 23.28 MB / 476.6 MB, free: 42.76 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006369/0.2771, allocations: 449.2 kB / 477.1 MB, free: 42.66 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.2771, allocations: 6.938 kB / 477.1 MB, free: 42.66 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2772, allocations: 23.06 kB / 477.1 MB, free: 42.65 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.2773, allocations: 46.83 kB / 477.1 MB, free: 42.63 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.284e-05/0.2774, allocations: 14.5 kB / 477.1 MB, free: 42.62 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2775, allocations: 114.8 kB / 477.3 MB, free: 42.57 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.2775, allocations: 20.97 kB / 477.3 MB, free: 42.57 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.06e-05/0.2776, allocations: 49.06 kB / 477.3 MB, free: 42.57 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.2776, allocations: 30.12 kB / 477.4 MB, free: 42.56 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.2777, allocations: 3 kB / 477.4 MB, free: 42.56 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.2777, allocations: 6 kB / 477.4 MB, free: 42.56 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.2777, allocations: 11.56 kB / 477.4 MB, free: 42.55 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.2777, allocations: 39.58 kB / 477.4 MB, free: 42.54 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 9.827e-05/0.2778, allocations: 82.06 kB / 477.5 MB, free: 42.53 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2778, allocations: 0 / 477.5 MB, free: 42.53 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2778, allocations: 0 / 477.5 MB, free: 42.53 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2778, allocations: 0 / 477.5 MB, free: 42.53 MB / 410.8 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.0003212/0.2781, allocations: 327.9 kB / 477.8 MB, free: 42.24 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2782, allocations: 14.58 kB / 477.8 MB, free: 42.24 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.092e-05/0.2782, allocations: 34.69 kB / 477.9 MB, free: 42.2 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.2782, allocations: 15.06 kB / 477.9 MB, free: 42.19 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.2784, allocations: 161.2 kB / 478 MB, free: 42.05 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.2784, allocations: 7.562 kB / 478 MB, free: 42.05 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.2784, allocations: 3.562 kB / 478 MB, free: 42.05 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.762e-05/0.2785, allocations: 61.16 kB / 478.1 MB, free: 42.01 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2785, allocations: 3.25 kB / 478.1 MB, free: 42.01 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.2785, allocations: 8.109 kB / 478.1 MB, free: 42 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2785, allocations: 0 / 478.1 MB, free: 42 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.388e-05/0.2785, allocations: 25 kB / 478.1 MB, free: 42 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.2788, allocations: 457.5 kB / 478.6 MB, free: 41.59 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.296e-05/0.2788, allocations: 172 kB / 478.8 MB, free: 41.42 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.568e-06/0.2788, allocations: 80.14 kB / 478.8 MB, free: 41.34 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.2788, allocations: 75.28 kB / 478.9 MB, free: 41.26 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.2789, allocations: 112.9 kB / 479 MB, free: 41.15 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.2789, allocations: 0 / 479 MB, free: 41.15 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 4.807e-05/0.2789, allocations: 36.03 kB / 479.1 MB, free: 41.11 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.2789, allocations: 130.6 kB / 479.2 MB, free: 40.97 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.279, allocations: 186 kB / 479.4 MB, free: 40.86 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-06/0.279, allocations: 25.7 kB / 479.4 MB, free: 40.83 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.2791, allocations: 117.2 kB / 479.5 MB, free: 40.74 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.2791, allocations: 0 / 479.5 MB, free: 40.74 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.2791, allocations: 16.06 kB / 479.5 MB, free: 40.73 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.613e-05/0.2791, allocations: 321 kB / 479.8 MB, free: 40.41 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.2791, allocations: 3.938 kB / 479.8 MB, free: 40.41 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-06/0.2791, allocations: 3.094 kB / 479.8 MB, free: 40.41 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.914e-05/0.2792, allocations: 7.828 kB / 479.8 MB, free: 40.41 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2792, allocations: 0 / 479.8 MB, free: 40.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.242e-05/0.2792, allocations: 46.75 kB / 479.9 MB, free: 40.37 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.2792, allocations: 8.625 kB / 479.9 MB, free: 40.37 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.2792, allocations: 4 kB / 479.9 MB, free: 40.36 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2793, allocations: 0 / 479.9 MB, free: 40.36 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.874e-05/0.2793, allocations: 6.266 kB / 479.9 MB, free: 40.36 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2793, allocations: 0 / 479.9 MB, free: 40.36 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.2793, allocations: 15.83 kB / 479.9 MB, free: 40.35 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.2793, allocations: 3.984 kB / 479.9 MB, free: 40.34 MB / 410.8 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 3.775e-05/0.2794, allocations: 191 kB / 480.1 MB, free: 40.16 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.2794, allocations: 111.2 kB / 480.2 MB, free: 40.05 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.2794, allocations: 126.7 kB / 480.3 MB, free: 39.93 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.2794, allocations: 179.4 kB / 480.5 MB, free: 39.75 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.2794, allocations: 180.3 kB / 480.7 MB, free: 39.57 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.2794, allocations: 190.5 kB / 480.9 MB, free: 39.38 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.622e-05/0.2795, allocations: 404.8 kB / 481.3 MB, free: 38.97 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.2795, allocations: 104.9 kB / 481.4 MB, free: 38.86 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-06/0.2795, allocations: 101 kB / 481.5 MB, free: 38.76 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/0.2795, allocations: 183.3 kB / 481.7 MB, free: 38.58 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2796, allocations: 183.4 kB / 481.8 MB, free: 38.39 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/0.2796, allocations: 179.5 kB / 482 MB, free: 38.21 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/0.2796, allocations: 180.2 kB / 482.2 MB, free: 38.03 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.154e-05/0.2796, allocations: 323.3 kB / 482.5 MB, free: 37.71 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.2796, allocations: 112.2 kB / 482.6 MB, free: 37.59 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.2797, allocations: 179.2 kB / 482.8 MB, free: 37.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.005e-05/0.2797, allocations: 108.2 kB / 482.9 MB, free: 37.3 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.2797, allocations: 183.1 kB / 483.1 MB, free: 37.12 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.2797, allocations: 108.9 kB / 483.2 MB, free: 37.01 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.2798, allocations: 132.1 kB / 483.3 MB, free: 36.94 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.2798, allocations: 0 / 483.3 MB, free: 36.94 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001487/0.2799, allocations: 15.28 kB / 483.3 MB, free: 36.94 MB / 410.8 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.0001118/0.28, allocations: 0.8082 MB / 484.1 MB, free: 36.12 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 5.025e-05/0.2801, allocations: 10.88 kB / 484.1 MB, free: 36.12 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.2801, allocations: 3.938 kB / 484.1 MB, free: 36.11 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.001e-06/0.2801, allocations: 2.812 kB / 484.1 MB, free: 36.11 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.2804, allocations: 0.5082 MB / 484.7 MB, free: 35.65 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007002/0.2811, allocations: 1.64 MB / 486.3 MB, free: 34.3 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.426e-05/0.2811, allocations: 89.16 kB / 486.4 MB, free: 34.22 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.17e-05/0.2811, allocations: 14.44 kB / 486.4 MB, free: 34.21 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.2812, allocations: 27.67 kB / 486.4 MB, free: 34.2 MB / 410.8 MB Notification: Performance of SimCode: time 2.9e-07/0.2812, allocations: 0 / 486.4 MB, free: 34.2 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.295, allocations: 3.937 MB / 490.4 MB, free: 33.04 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.37/6.664, allocations: 10.02 kB / 490.4 MB, free: 33.04 MB / 410.8 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.54020366538316] Failed to read output from testmodel.py, exit status != 0: 6.7413527788594365 6.749683445 6.470201907 Calling exit ...