Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Properties.ThermoSurface.conf.json 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.001307/0.001307, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0009923/0.0009923, allocations: 222.3 kB / 22.25 MB, free: 3.559 MB / 13.93 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.08/1.08, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04806/0.04806, allocations: 14.03 MB / 326.5 MB, free: 4.57 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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) Running command: "" <> buildModelFMU(HelmholtzMedia.Validation.Properties.ThermoSurface,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Properties_ThermoSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Properties.ThermoSurface,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Properties_ThermoSurface",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 74.36 kB / 453.4 MB, free: 33.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.117, allocations: 55.96 MB / 0.4975 GB, free: 9.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.ThermoSurface): time 0.04104/0.158, allocations: 52.46 MB / 0.5487 GB, free: 5.004 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.1596, allocations: 1.596 MB / 0.5503 GB, free: 3.402 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.504e-05/0.1597, allocations: 4 kB / 0.5503 GB, free: 3.398 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.1614, allocations: 0.585 MB / 0.5508 GB, free: 2.812 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3478/0.5092, allocations: 11.08 MB / 0.5616 GB, free: 7.395 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.5108, allocations: 416.6 kB / 0.562 GB, free: 7.387 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.5112, allocations: 274.6 kB / 0.5623 GB, free: 7.387 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.873e-05/0.5113, allocations: 10.86 kB / 0.5623 GB, free: 7.383 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.5116, allocations: 147.1 kB / 0.5625 GB, free: 7.383 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.5118, allocations: 103.5 kB / 0.5626 GB, free: 7.383 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.5118, allocations: 7.594 kB / 0.5626 GB, free: 7.383 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02632/0.5381, allocations: 11.1 MB / 0.5734 GB, free: 7.359 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-05/0.5382, allocations: 22.67 kB / 0.5734 GB, free: 7.359 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.5384, allocations: 72.22 kB / 0.5735 GB, free: 7.359 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01981/0.5582, allocations: 4.616 MB / 0.578 GB, free: 7.051 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.5582, allocations: 0 / 0.578 GB, free: 7.051 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.646e-06/0.5582, allocations: 0 / 0.578 GB, free: 7.051 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.5582, allocations: 0 / 0.578 GB, free: 7.051 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.002739/0.561, allocations: 1.13 MB / 0.5791 GB, free: 6.316 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.561, allocations: 11.09 kB / 0.5791 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.5611, allocations: 43.66 kB / 0.5792 GB, free: 6.277 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.5611, allocations: 19.33 kB / 0.5792 GB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.788e-05/0.5612, allocations: 135 kB / 0.5793 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.5613, allocations: 3.062 kB / 0.5793 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.5613, allocations: 7.359 kB / 0.5793 GB, free: 6.117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/0.5619, allocations: 0.6831 MB / 0.58 GB, free: 6.047 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5619, allocations: 0 / 0.58 GB, free: 6.047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.5619, allocations: 1.125 kB / 0.58 GB, free: 6.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.5619, allocations: 9.172 kB / 0.58 GB, free: 6.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.5622, allocations: 177.4 kB / 0.5802 GB, free: 6.043 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.5624, allocations: 225.7 kB / 0.5804 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.5627, allocations: 146.8 kB / 0.5805 GB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.5628, allocations: 134.9 kB / 0.5806 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002607/0.5654, allocations: 1.666 MB / 0.5823 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.5655, allocations: 65.34 kB / 0.5823 GB, free: 5.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 2.915e-06/0.5655, allocations: 0 / 0.5823 GB, free: 5.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007408/0.5662, allocations: 467.5 kB / 0.5828 GB, free: 5.344 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.5663, allocations: 57.59 kB / 0.5828 GB, free: 5.277 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.5664, allocations: 150.8 kB / 0.583 GB, free: 5.164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.5664, allocations: 30.83 kB / 0.583 GB, free: 5.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.5664, allocations: 90.45 kB / 0.5831 GB, free: 5.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.5665, allocations: 120.8 kB / 0.5832 GB, free: 4.957 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.5665, allocations: 37.7 kB / 0.5832 GB, free: 4.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.5666, allocations: 325.7 kB / 0.5836 GB, free: 4.621 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.5668, allocations: 119.5 kB / 0.5837 GB, free: 4.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.5669, allocations: 123.5 kB / 0.5838 GB, free: 4.562 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.5673, allocations: 279.5 kB / 0.5841 GB, free: 4.492 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5673, allocations: 0 / 0.5841 GB, free: 4.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003826/0.5676, allocations: 304.1 kB / 0.5843 GB, free: 4.402 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5677, allocations: 9.656 kB / 0.5844 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5677, allocations: 1.75 kB / 0.5844 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.5677, allocations: 0 / 0.5844 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.5678, allocations: 39.11 kB / 0.5844 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5678, allocations: 2.844 kB / 0.5844 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.338e-05/0.5679, allocations: 37.5 kB / 0.5844 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.5679, allocations: 2.812 kB / 0.5844 GB, free: 4.363 MB / 410.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.145e-05/0.568, allocations: 132.4 kB / 0.5846 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.568, allocations: 13.34 kB / 0.5846 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005/0.5685, allocations: 361.6 kB / 0.5849 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.5685, allocations: 6.641 kB / 0.5849 GB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5685, allocations: 0 / 0.5849 GB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5685, allocations: 0 / 0.5849 GB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.5687, allocations: 234.1 kB / 0.5851 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5687, allocations: 0 / 0.5851 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.054e-05/0.5688, allocations: 38.14 kB / 0.5852 GB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.5688, allocations: 0 / 0.5852 GB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.5688, allocations: 3.938 kB / 0.5852 GB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5688, allocations: 6.812 kB / 0.5852 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5688, allocations: 0 / 0.5852 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.5692, allocations: 356.8 kB / 0.5855 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/0.5693, allocations: 50.66 kB / 0.5856 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.5693, allocations: 8.422 kB / 0.5856 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.5694, allocations: 25.38 kB / 0.5856 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.5694, allocations: 10.64 kB / 0.5856 GB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.5694, allocations: 9.734 kB / 0.5856 GB, free: 3.707 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.629e-05/0.5695, allocations: 113.9 kB / 0.5857 GB, free: 3.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5695, allocations: 1.531 kB / 0.5857 GB, free: 3.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001506/0.571, allocations: 0.6324 MB / 0.5864 GB, free: 3.496 MB / 410.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002513/0.5735, allocations: 1.977 MB / 0.5883 GB, free: 2.555 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.574, allocations: 264.7 kB / 0.5885 GB, free: 2.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.574, allocations: 0 / 0.5885 GB, free: 2.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.5741, allocations: 131.3 kB / 0.5887 GB, free: 2.473 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.5745, allocations: 74.91 kB / 0.5887 GB, free: 2.441 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/0.5754, allocations: 0.6778 MB / 0.5894 GB, free: 2.047 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.374e-05/0.5755, allocations: 115.2 kB / 0.5895 GB, free: 1.949 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.661e-05/0.5755, allocations: 9.984 kB / 0.5895 GB, free: 1.945 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.5756, allocations: 40.8 kB / 0.5896 GB, free: 1.934 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.5756, allocations: 6.188 kB / 0.5896 GB, free: 1.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/0.6835, allocations: 21.19 MB / 0.6103 GB, free: 13.37 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.742, allocations: 3.562 kB / 0.6103 GB, free: 13.37 MB / 442.7 MB " [Timeout remaining time 651] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.ThermoSurface.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Properties.ThermoSurface.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Properties.ThermoSurface.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Properties.ThermoSurface.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Properties_ThermoSurface_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 ../HelmholtzMedia_HelmholtzMedia_Validation_Properties_ThermoSurface.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Properties.ThermoSurface.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.ThermoSurface_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Properties.ThermoSurface_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Properties.ThermoSurface_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Properties.ThermoSurface_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Properties.ThermoSurface_fmpy_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 ../HelmholtzMedia_HelmholtzMedia_Validation_Properties_ThermoSurface.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Properties.ThermoSurface_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.546107043512166]