Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.0009435/0.0009435, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 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.0009731/0.0009731, allocations: 207.8 kB / 23.02 MB, free: 2.961 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.023/1.023, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.952/1.952, allocations: 0.5046 GB / 0.8104 GB, free: 2.797 MB / 0.6511 GB " [Timeout remaining time 177] 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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.89 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7348/0.7362, allocations: 180 MB / 1.352 GB, free: 1.691 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002344/0.7385, allocations: 2.056 MB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.7399, allocations: 1.021 MB / 1.355 GB, free: 14.6 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.312e-05/0.74, allocations: 11.94 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.74, allocations: 23.67 kB / 1.356 GB, free: 14.57 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.7403, allocations: 83.22 kB / 1.356 GB, free: 14.48 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.7406, allocations: 191.6 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.7408, allocations: 302.6 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.7409, allocations: 51 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.741, allocations: 111.6 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.7412, allocations: 131.4 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.7412, allocations: 16 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.7415, allocations: 275.7 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.7415, allocations: 55.77 kB / 1.357 GB, free: 13.38 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.7416, allocations: 91.47 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.7418, allocations: 346.5 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7419, allocations: 0 / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7419, allocations: 0 / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.7419, allocations: 0 / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006521/0.7425, allocations: 0.5648 MB / 1.358 GB, free: 12.35 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7426, allocations: 12.92 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.7426, allocations: 46.73 kB / 1.358 GB, free: 12.28 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.7427, allocations: 40.7 kB / 1.358 GB, free: 12.24 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.743, allocations: 225.5 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.743, allocations: 16.41 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.743, allocations: 12 kB / 1.358 GB, free: 11.97 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.7433, allocations: 224.6 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.7433, allocations: 4 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.7433, allocations: 8 kB / 1.358 GB, free: 11.72 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.7433, allocations: 4 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.7437, allocations: 199.6 kB / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006951/0.7444, allocations: 0.8713 MB / 1.359 GB, free: 10.59 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.7448, allocations: 237.2 kB / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.7449, allocations: 93.64 kB / 1.36 GB, free: 10.24 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.745, allocations: 4 kB / 1.36 GB, free: 10.23 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.745, allocations: 38.5 kB / 1.36 GB, free: 10.19 MB / 1.042 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.745, allocations: 0 / 1.36 GB, free: 10.19 MB / 1.042 GB Notification: Performance of matching and sorting (n=16): time 0.000611/0.7456, allocations: 345.4 kB / 1.36 GB, free: 9.844 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.7456, allocations: 81.11 kB / 1.36 GB, free: 9.746 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.7458, allocations: 272.1 kB / 1.36 GB, free: 9.473 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.7458, allocations: 29.7 kB / 1.36 GB, free: 9.438 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.7459, allocations: 164.3 kB / 1.36 GB, free: 9.27 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.7459, allocations: 55.48 kB / 1.361 GB, free: 9.215 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.746, allocations: 41.7 kB / 1.361 GB, free: 9.168 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.7461, allocations: 334.8 kB / 1.361 GB, free: 8.832 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.7462, allocations: 95.91 kB / 1.361 GB, free: 8.738 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.7464, allocations: 137.9 kB / 1.361 GB, free: 8.582 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.7467, allocations: 237.7 kB / 1.361 GB, free: 8.328 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7467, allocations: 0 / 1.361 GB, free: 8.328 MB / 1.042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004187/0.7471, allocations: 309.1 kB / 1.362 GB, free: 8.02 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7471, allocations: 8 kB / 1.362 GB, free: 8.012 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.7472, allocations: 0 / 1.362 GB, free: 8.012 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.7472, allocations: 4 kB / 1.362 GB, free: 8.008 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.7473, allocations: 64.03 kB / 1.362 GB, free: 7.945 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.7473, allocations: 4 kB / 1.362 GB, free: 7.941 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.7474, allocations: 35.86 kB / 1.362 GB, free: 7.906 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.7474, allocations: 8.094 kB / 1.362 GB, free: 7.898 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 8.267e-05/0.7475, allocations: 138.2 kB / 1.362 GB, free: 7.754 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.7476, allocations: 35.75 kB / 1.362 GB, free: 7.719 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008353/0.7484, allocations: 287.9 kB / 1.362 GB, free: 7.43 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7484, allocations: 3.984 kB / 1.362 GB, free: 7.426 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7484, allocations: 4 kB / 1.362 GB, free: 7.422 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7484, allocations: 0 / 1.362 GB, free: 7.422 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.7486, allocations: 240.5 kB / 1.362 GB, free: 7.145 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7486, allocations: 7.938 kB / 1.362 GB, free: 7.137 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.7488, allocations: 55.95 kB / 1.362 GB, free: 7.082 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.7488, allocations: 0 / 1.362 GB, free: 7.082 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.7488, allocations: 4 kB / 1.362 GB, free: 7.078 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.7488, allocations: 0 / 1.362 GB, free: 7.078 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.7488, allocations: 0 / 1.362 GB, free: 7.078 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.7492, allocations: 446.3 kB / 1.363 GB, free: 6.625 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.7492, allocations: 31.75 kB / 1.363 GB, free: 6.594 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.7492, allocations: 0 / 1.363 GB, free: 6.594 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.7494, allocations: 35.89 kB / 1.363 GB, free: 6.559 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.7494, allocations: 15.97 kB / 1.363 GB, free: 6.543 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.7494, allocations: 8 kB / 1.363 GB, free: 6.535 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000107/0.7495, allocations: 195.1 kB / 1.363 GB, free: 6.344 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7495, allocations: 0 / 1.363 GB, free: 6.344 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002186/0.7497, allocations: 59.89 kB / 1.363 GB, free: 6.285 MB / 1.042 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 (20): * Single equations (assignments): 20 * 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.0006789/0.7504, allocations: 0.9866 MB / 1.364 GB, free: 5.273 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003862/0.7508, allocations: 219.9 kB / 1.364 GB, free: 5.059 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7508, allocations: 4.062 kB / 1.364 GB, free: 5.055 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.751, allocations: 111.8 kB / 1.365 GB, free: 4.945 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.7514, allocations: 77.38 kB / 1.365 GB, free: 4.867 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.7537, allocations: 2.724 MB / 1.367 GB, free: 2.016 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.238e-05/0.7538, allocations: 147.1 kB / 1.367 GB, free: 1.855 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 9.138e-05/0.7539, allocations: 38.41 kB / 1.367 GB, free: 1.816 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.426e-05/0.754, allocations: 83.41 kB / 1.368 GB, free: 1.734 MB / 1.042 GB Notification: Performance of SimCode: time 6.11e-07/0.754, allocations: 0 / 1.368 GB, free: 1.734 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07739/0.8314, allocations: 7.565 MB / 1.375 GB, free: 10.42 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.097/7.929, allocations: 7.188 kB / 1.375 GB, free: 10.42 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_fmpy_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 ../Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.804581010714173]