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.06123/0.06123, allocations: 11.16 MB / 30.5 MB, free: 4.938 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.0008451/0.0008451, allocations: 95.52 kB / 38.14 MB, free: 7.191 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.0009538/0.0009538, allocations: 156.5 kB / 45.84 MB, free: 10.59 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.9009/0.9009, allocations: 177.2 MB / 230.6 MB, free: 4.762 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.1049/0.1049, allocations: 17.62 MB / 309.1 MB, free: 8.809 MB / 282.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.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 1.583e-06/1.583e-06, allocations: 0.7656 kB / 389.9 MB, free: 47.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.616e-05, allocations: 5.484 kB / 389.9 MB, free: 47.09 MB / 330.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.SkinHeatFlow): time 0.01777/0.01779, allocations: 23.42 MB / 413.3 MB, free: 24.01 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007233/0.01851, allocations: 446.9 kB / 413.7 MB, free: 23.57 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/0.01859, allocations: 11.94 kB / 413.7 MB, free: 23.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 8.963e-05/0.01868, allocations: 15.8 kB / 413.8 MB, free: 23.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.716e-05/0.01875, allocations: 43.62 kB / 413.8 MB, free: 23.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.094e-05/0.0188, allocations: 11.98 kB / 413.8 MB, free: 23.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.01891, allocations: 119.2 kB / 413.9 MB, free: 23.37 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.019e-05/0.019, allocations: 25.23 kB / 414 MB, free: 23.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.01905, allocations: 51.88 kB / 414 MB, free: 23.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.0191, allocations: 23.92 kB / 414 MB, free: 23.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.01912, allocations: 12 kB / 414 MB, free: 23.26 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.01913, allocations: 11.88 kB / 414.1 MB, free: 23.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.01914, allocations: 11.92 kB / 414.1 MB, free: 23.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.01917, allocations: 27.94 kB / 414.1 MB, free: 23.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.01928, allocations: 87.7 kB / 414.2 MB, free: 23.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01928, allocations: 0 / 414.2 MB, free: 23.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01928, allocations: 0 / 414.2 MB, free: 23.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.01929, allocations: 0 / 414.2 MB, free: 23.12 MB / 330.7 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.0003257/0.01961, allocations: 325.8 kB / 414.5 MB, free: 22.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.01966, allocations: 12.03 kB / 414.5 MB, free: 22.76 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.499e-05/0.01968, allocations: 38.73 kB / 414.6 MB, free: 22.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.01971, allocations: 16.89 kB / 414.6 MB, free: 22.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.01988, allocations: 165.5 kB / 414.7 MB, free: 22.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.0199, allocations: 4.375 kB / 414.7 MB, free: 22.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.01991, allocations: 4.375 kB / 414.7 MB, free: 22.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.354e-05/0.02, allocations: 58.19 kB / 414.8 MB, free: 22.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.02001, allocations: 192 / 414.8 MB, free: 22.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.02002, allocations: 12.11 kB / 414.8 MB, free: 22.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.02002, allocations: 4 kB / 414.8 MB, free: 22.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.561e-05/0.02006, allocations: 23.94 kB / 414.8 MB, free: 22.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.02036, allocations: 446.2 kB / 415.3 MB, free: 21.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.02041, allocations: 165.1 kB / 415.4 MB, free: 21.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.02042, allocations: 80.17 kB / 415.5 MB, free: 21.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.02044, allocations: 79.28 kB / 415.6 MB, free: 21.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.02046, allocations: 117.8 kB / 415.7 MB, free: 21.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.02046, allocations: 3.984 kB / 415.7 MB, free: 21.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.724e-05/0.02052, allocations: 45.55 kB / 415.7 MB, free: 21.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.02054, allocations: 130.7 kB / 415.9 MB, free: 21.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.02065, allocations: 187.8 kB / 416.1 MB, free: 21.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.02066, allocations: 25.7 kB / 416.1 MB, free: 21.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.02071, allocations: 112.1 kB / 416.2 MB, free: 20.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.02071, allocations: 0 / 416.2 MB, free: 20.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.02073, allocations: 13.72 kB / 416.2 MB, free: 20.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.02077, allocations: 318.8 kB / 416.5 MB, free: 20.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.02078, allocations: 8 kB / 416.5 MB, free: 20.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.02079, allocations: 0 / 416.5 MB, free: 20.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.02082, allocations: 8.859 kB / 416.5 MB, free: 20.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.02082, allocations: 4.062 kB / 416.5 MB, free: 20.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.067e-05/0.0209, allocations: 49.59 kB / 416.6 MB, free: 20.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.02091, allocations: 4 kB / 416.6 MB, free: 20.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.02092, allocations: 0 / 416.6 MB, free: 20.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.02093, allocations: 0 / 416.6 MB, free: 20.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.937e-05/0.02098, allocations: 7.984 kB / 416.6 MB, free: 20.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.02098, allocations: 112 / 416.6 MB, free: 20.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.02101, allocations: 15.77 kB / 416.6 MB, free: 20.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.02101, allocations: 0 / 416.6 MB, free: 20.48 MB / 330.7 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 5e-05/0.02106, allocations: 189.1 kB / 416.8 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.02109, allocations: 120.9 kB / 416.9 MB, free: 20.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.02112, allocations: 117.5 kB / 417 MB, free: 20.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/0.02114, allocations: 176.3 kB / 417.2 MB, free: 19.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.469e-05/0.02118, allocations: 184.2 kB / 417.4 MB, free: 19.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.71e-05/0.0212, allocations: 180.2 kB / 417.6 MB, free: 19.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.02132, allocations: 408.2 kB / 418 MB, free: 19.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.02133, allocations: 101 kB / 418.1 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.02135, allocations: 101 kB / 418.2 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.921e-05/0.02136, allocations: 184.2 kB / 418.3 MB, free: 18.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.02139, allocations: 180.3 kB / 418.5 MB, free: 18.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-05/0.0214, allocations: 184.2 kB / 418.7 MB, free: 18.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.815e-05/0.02142, allocations: 184.3 kB / 418.9 MB, free: 18.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.949e-05/0.02148, allocations: 319.6 kB / 419.2 MB, free: 17.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.02152, allocations: 116.9 kB / 419.3 MB, free: 17.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.02155, allocations: 180.2 kB / 419.5 MB, free: 17.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.641e-05/0.0216, allocations: 105 kB / 419.6 MB, free: 17.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.02162, allocations: 176.3 kB / 419.7 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.02163, allocations: 108.9 kB / 419.9 MB, free: 17.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.045e-05/0.02169, allocations: 142 kB / 420 MB, free: 16.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02169, allocations: 0 / 420 MB, free: 16.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.02184, allocations: 12 kB / 420 MB, free: 16.9 MB / 330.7 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.0001391/0.02197, allocations: 0.8125 MB / 420.8 MB, free: 16.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.444e-05/0.02204, allocations: 8.359 kB / 420.8 MB, free: 16.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02204, allocations: 0 / 420.8 MB, free: 16.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.02204, allocations: 0 / 420.8 MB, free: 16.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.02236, allocations: 0.4988 MB / 421.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/0.02315, allocations: 1.656 MB / 423 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.74e-05/0.02319, allocations: 80.28 kB / 423.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.868e-05/0.02323, allocations: 16.62 kB / 423.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.02327, allocations: 32.48 kB / 423.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02327, allocations: 0 / 423.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.03932, allocations: 4.015 MB / 427.1 MB, free: 9.789 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.071/7.11, allocations: 3.984 kB / 427.1 MB, free: 9.785 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow_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_SkinHeatFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.228612510487437] Failed to read output from testmodel.py, exit status != 0: 7.191299611702561 7.199339586 7.177930968 Calling exit ...