Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.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.001176/0.001176, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001203/0.001203, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.997/0.997, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.825/1.825, allocations: 389.5 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_13_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_13_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.761e-05, allocations: 9.875 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001614/0.001632, allocations: 1.306 MB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.002822, allocations: 1.114 MB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.002854, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.002873, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.538e-05/0.002948, allocations: 19.8 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.003372, allocations: 155.3 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.379e-05/0.003436, allocations: 39.8 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.003473, allocations: 4 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.003681, allocations: 43.83 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.06e-05/0.003711, allocations: 7.984 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.003728, allocations: 4 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.004033, allocations: 139.7 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.004044, allocations: 7.984 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.004064, allocations: 8 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.004251, allocations: 139.6 kB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004253, allocations: 0 / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004254, allocations: 0 / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.004258, allocations: 0 / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003144/0.004572, allocations: 298 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.004611, allocations: 13.28 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.004644, allocations: 34.75 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.00467, allocations: 8.922 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.604e-05/0.004746, allocations: 109.8 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.004755, allocations: 384 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.004765, allocations: 12.31 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.00487, allocations: 71.83 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004878, allocations: 192 / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.004887, allocations: 8.125 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.004892, allocations: 0 / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.006e-05/0.004952, allocations: 47.95 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.005084, allocations: 137.5 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.474e-05/0.005168, allocations: 69.11 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.005203, allocations: 21.78 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004836/0.005687, allocations: 260 kB / 1.005 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.005708, allocations: 38.55 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.005709, allocations: 0 / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001707/0.00588, allocations: 93.56 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.00591, allocations: 77.11 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.369e-05/0.005963, allocations: 97.84 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.005973, allocations: 29.7 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.921e-05/0.005993, allocations: 80.14 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.006024, allocations: 35.69 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.006052, allocations: 21.72 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.006121, allocations: 310.8 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.006142, allocations: 24.05 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.892e-05/0.006171, allocations: 33.69 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/0.006225, allocations: 41.72 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.006226, allocations: 0 / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.886e-05/0.006305, allocations: 69.62 kB / 1.006 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.006317, allocations: 8 kB / 1.006 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.006322, allocations: 4.188 kB / 1.006 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.006335, allocations: 7.922 kB / 1.006 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.476e-05/0.006389, allocations: 12 kB / 1.006 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.006395, allocations: 4 kB / 1.006 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.006412, allocations: 15.97 kB / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.006419, allocations: 4 kB / 1.006 GB, free: 8.246 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 5.802e-05/0.006477, allocations: 121.9 kB / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-06/0.006485, allocations: 4 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.006614, allocations: 97.62 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.006618, allocations: 7.938 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.006621, allocations: 3.938 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.006624, allocations: 0 / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.782e-05/0.006712, allocations: 136.7 kB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006713, allocations: 4.031 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.006748, allocations: 15.98 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.00675, allocations: 0 / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.006758, allocations: 8 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.00676, allocations: 3.938 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006761, allocations: 0 / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.69e-05/0.006858, allocations: 109.8 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.006883, allocations: 11.94 kB / 1.006 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.006895, allocations: 4 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.06e-05/0.006905, allocations: 3.938 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.006925, allocations: 7.984 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.006929, allocations: 8 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.927e-05/0.006958, allocations: 83.28 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006958, allocations: 0 / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001856/0.007144, allocations: 59.73 kB / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0004705/0.007614, allocations: 0.715 MB / 1.007 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.007728, allocations: 43.92 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.007731, allocations: 4 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.007754, allocations: 24.08 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.007979, allocations: 23.92 kB / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.00845, allocations: 227 kB / 1.007 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.879e-05/0.008498, allocations: 74.09 kB / 1.007 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.008531, allocations: 12.11 kB / 1.007 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.008566, allocations: 16.5 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of SimCode: time 7.12e-07/0.008567, allocations: 0 / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07798/0.08655, allocations: 3.31 MB / 1.011 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.065, allocations: 4.062 kB / 1.011 GB, free: 3.102 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.fmu) > Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.fmu) > Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.71448964253068]