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.1024/0.1024, allocations: 15.56 MB / 34.41 MB, free: 4.496 MB / 26.18 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.001292/0.001292, allocations: 107.6 kB / 41.98 MB, free: 6.176 MB / 34.91 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.001483/0.001483, allocations: 222 kB / 49.68 MB, free: 10.02 MB / 34.91 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 1.548/1.548, allocations: 230.6 MB / 287.8 MB, free: 6.398 MB / 206.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.1499/0.1499, allocations: 23.72 MB / 372.4 MB, free: 2.945 MB / 286.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.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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.00368/0.00368, allocations: 136.5 kB / 0.5047 GB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.3003, allocations: 63.84 MB / 0.567 GB, free: 14.52 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.07297/0.3733, allocations: 22.98 MB / 0.5895 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3746, allocations: 450.8 kB / 0.5899 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.3747, allocations: 3.938 kB / 0.5899 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.3749, allocations: 27.78 kB / 0.5899 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.375, allocations: 39.58 kB / 0.5899 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.384e-05/0.375, allocations: 15.98 kB / 0.59 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3752, allocations: 111.3 kB / 0.5901 GB, free: 7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3753, allocations: 13.31 kB / 0.5901 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.887e-05/0.3754, allocations: 43.8 kB / 0.5901 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/0.3755, allocations: 35.8 kB / 0.5902 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.3755, allocations: 4 kB / 0.5902 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.804e-05/0.3755, allocations: 7.938 kB / 0.5902 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.3756, allocations: 11.94 kB / 0.5902 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.3756, allocations: 35.8 kB / 0.5902 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.3758, allocations: 95.58 kB / 0.5903 GB, free: 6.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3758, allocations: 0 / 0.5903 GB, free: 6.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3758, allocations: 0 / 0.5903 GB, free: 6.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3758, allocations: 4 kB / 0.5903 GB, free: 6.75 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.0006158/0.3764, allocations: 333.8 kB / 0.5906 GB, free: 6.395 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3765, allocations: 8.031 kB / 0.5906 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.761e-05/0.3765, allocations: 42.69 kB / 0.5907 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.3766, allocations: 12.84 kB / 0.5907 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.3768, allocations: 158.3 kB / 0.5908 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3769, allocations: 8.375 kB / 0.5908 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.577e-06/0.3769, allocations: 4.375 kB / 0.5909 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.377, allocations: 65.75 kB / 0.5909 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.377, allocations: 0 / 0.5909 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.377, allocations: 0 / 0.5909 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.377, allocations: 4 kB / 0.5909 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.821e-05/0.3771, allocations: 27.92 kB / 0.5909 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.3777, allocations: 442.2 kB / 0.5914 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.3778, allocations: 165.1 kB / 0.5915 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.3778, allocations: 84.14 kB / 0.5916 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.3779, allocations: 75.28 kB / 0.5917 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/0.3779, allocations: 109.8 kB / 0.5918 GB, free: 5.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3779, allocations: 0 / 0.5918 GB, free: 5.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.552e-05/0.378, allocations: 45.53 kB / 0.5918 GB, free: 5.055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.3781, allocations: 126.7 kB / 0.5919 GB, free: 4.918 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.3783, allocations: 191 kB / 0.5921 GB, free: 4.719 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3783, allocations: 25.7 kB / 0.5922 GB, free: 4.688 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.3784, allocations: 108.1 kB / 0.5923 GB, free: 4.578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.3784, allocations: 0 / 0.5923 GB, free: 4.578 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.3784, allocations: 21.73 kB / 0.5923 GB, free: 4.551 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3786, allocations: 318.8 kB / 0.5926 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.3786, allocations: 4 kB / 0.5926 GB, free: 4.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.3786, allocations: 8.094 kB / 0.5926 GB, free: 4.219 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/0.3786, allocations: 16.73 kB / 0.5926 GB, free: 4.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3786, allocations: 0 / 0.5926 GB, free: 4.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001097/0.3787, allocations: 53.55 kB / 0.5927 GB, free: 4.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3788, allocations: 4 kB / 0.5927 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3788, allocations: 0 / 0.5927 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3788, allocations: 3.938 kB / 0.5927 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.801e-05/0.3788, allocations: 4 kB / 0.5927 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3788, allocations: 4.094 kB / 0.5927 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.574e-05/0.3789, allocations: 0 / 0.5927 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.3789, allocations: 4 kB / 0.5927 GB, free: 4.121 MB / 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.0001226/0.379, allocations: 197 kB / 0.5929 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.3791, allocations: 120.8 kB / 0.593 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.706e-05/0.3791, allocations: 113.5 kB / 0.5931 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.59e-05/0.3792, allocations: 188.2 kB / 0.5933 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.675e-05/0.3793, allocations: 184.2 kB / 0.5934 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.666e-05/0.3794, allocations: 176.3 kB / 0.5936 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.3797, allocations: 404.2 kB / 0.594 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.376e-05/0.3797, allocations: 105 kB / 0.5941 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.3798, allocations: 105 kB / 0.5942 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.465e-05/0.3799, allocations: 184.2 kB / 0.5944 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-05/0.3799, allocations: 180.2 kB / 0.5945 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-05/0.38, allocations: 192.1 kB / 0.5947 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.751e-05/0.3801, allocations: 176.3 kB / 0.5949 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.3803, allocations: 311.7 kB / 0.5952 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.3803, allocations: 120.9 kB / 0.5953 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3804, allocations: 188.2 kB / 0.5955 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3805, allocations: 104.9 kB / 0.5956 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.3806, allocations: 176.3 kB / 0.5958 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/0.3807, allocations: 112.9 kB / 0.5959 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.3808, allocations: 137.2 kB / 0.596 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3808, allocations: 0 / 0.596 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.381, allocations: 16 kB / 0.596 GB, free: 0.5039 MB / 414.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.0004754/0.3815, allocations: 0.8009 MB / 0.5968 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.892e-05/0.3816, allocations: 7.922 kB / 0.5968 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3816, allocations: 0 / 0.5968 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.3816, allocations: 4 kB / 0.5968 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006316/0.3822, allocations: 0.5192 MB / 0.5973 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.3838, allocations: 1.659 MB / 0.5989 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.543e-05/0.3839, allocations: 84.14 kB / 0.599 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.833e-05/0.3839, allocations: 12.66 kB / 0.599 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.384, allocations: 27.42 kB / 0.5991 GB, free: 13.27 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.384, allocations: 0 / 0.5991 GB, free: 13.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03234/0.4163, allocations: 3.829 MB / 0.6028 GB, free: 9.555 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.93, allocations: 0 / 0.6028 GB, free: 9.555 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.87353484518826] Failed to read output from testmodel.py, exit status != 0: 12.040539308916777 12.069214433 11.688100153 Calling exit ...