Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.004097/0.004097, allocations: 80.55 kB / 19.96 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.001282/0.001282, 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.9638/0.9638, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.89/1.89, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 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.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.628e-05, allocations: 2.281 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6638/0.6638, allocations: 147.5 MB / 1.145 GB, free: 7.832 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.6663, allocations: 1.474 MB / 1.146 GB, free: 6.832 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003223/0.6667, allocations: 14.72 kB / 1.146 GB, free: 6.824 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.6672, allocations: 156 kB / 1.146 GB, free: 6.723 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.6691, allocations: 0.716 MB / 1.147 GB, free: 6.344 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.6708, allocations: 0.651 MB / 1.148 GB, free: 6.027 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0009891/0.6718, allocations: 0.6815 MB / 1.148 GB, free: 5.707 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.6722, allocations: 171 kB / 1.149 GB, free: 5.637 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.6734, allocations: 0.5826 MB / 1.149 GB, free: 5.383 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.6738, allocations: 185.2 kB / 1.149 GB, free: 5.328 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.229e-05/0.6738, allocations: 23.28 kB / 1.149 GB, free: 5.328 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.6753, allocations: 0.717 MB / 1.15 GB, free: 5.059 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.6755, allocations: 115.9 kB / 1.15 GB, free: 5.004 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.6756, allocations: 113.9 kB / 1.15 GB, free: 4.965 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.6768, allocations: 0.7319 MB / 1.151 GB, free: 4.723 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6768, allocations: 3.938 kB / 1.151 GB, free: 4.719 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6768, allocations: 0 / 1.151 GB, free: 4.719 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.6768, allocations: 0 / 1.151 GB, free: 4.719 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008934/0.6777, allocations: 0.5796 MB / 1.151 GB, free: 4.266 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.6777, allocations: 10.5 kB / 1.152 GB, free: 4.266 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.6778, allocations: 55.12 kB / 1.152 GB, free: 4.215 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007636/0.6786, allocations: 160 kB / 1.152 GB, free: 4.18 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.6791, allocations: 247.3 kB / 1.152 GB, free: 3.992 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.6791, allocations: 18 kB / 1.152 GB, free: 3.984 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.6791, allocations: 23.72 kB / 1.152 GB, free: 3.977 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.6795, allocations: 277.7 kB / 1.152 GB, free: 3.836 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.6795, allocations: 1.094 kB / 1.152 GB, free: 3.836 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.6795, allocations: 6.375 kB / 1.152 GB, free: 3.832 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.6795, allocations: 9.719 kB / 1.152 GB, free: 3.828 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.6798, allocations: 198 kB / 1.152 GB, free: 3.77 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.6809, allocations: 0.9807 MB / 1.153 GB, free: 3.016 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.6811, allocations: 128 kB / 1.154 GB, free: 2.957 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.6813, allocations: 87.58 kB / 1.154 GB, free: 2.926 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003084/0.6816, allocations: 70.52 kB / 1.154 GB, free: 2.922 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.6816, allocations: 36.56 kB / 1.154 GB, free: 2.879 MB / 1.01 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.6816, allocations: 3.938 kB / 1.154 GB, free: 2.875 MB / 1.01 GB Notification: Performance of matching and sorting (n=15): time 0.0005669/0.6822, allocations: 284.1 kB / 1.154 GB, free: 2.766 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.6822, allocations: 54.73 kB / 1.154 GB, free: 2.703 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.6825, allocations: 311.5 kB / 1.154 GB, free: 2.539 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.6825, allocations: 30.89 kB / 1.154 GB, free: 2.504 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.6827, allocations: 179 kB / 1.155 GB, free: 2.348 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/0.6827, allocations: 58.8 kB / 1.155 GB, free: 2.301 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.6828, allocations: 45.69 kB / 1.155 GB, free: 2.27 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6829, allocations: 342.8 kB / 1.155 GB, free: 1.941 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.6831, allocations: 64.58 kB / 1.155 GB, free: 1.926 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.6833, allocations: 208.3 kB / 1.155 GB, free: 1.754 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.6836, allocations: 186.3 kB / 1.155 GB, free: 1.656 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6836, allocations: 0 / 1.155 GB, free: 1.656 MB / 1.01 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004108/0.684, allocations: 243.1 kB / 1.156 GB, free: 1.551 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.684, allocations: 5.219 kB / 1.156 GB, free: 1.551 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.684, allocations: 1.625 kB / 1.156 GB, free: 1.551 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.684, allocations: 2.984 kB / 1.156 GB, free: 1.551 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.6842, allocations: 46.11 kB / 1.156 GB, free: 1.547 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.6842, allocations: 2.516 kB / 1.156 GB, free: 1.547 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.6844, allocations: 37.72 kB / 1.156 GB, free: 1.523 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.6844, allocations: 12.34 kB / 1.156 GB, free: 1.52 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.000146/0.6846, allocations: 150.1 kB / 1.156 GB, free: 1.387 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.6846, allocations: 38.41 kB / 1.156 GB, free: 1.363 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.685, allocations: 213 kB / 1.156 GB, free: 1.273 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.685, allocations: 1.828 kB / 1.156 GB, free: 1.273 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6851, allocations: 0 / 1.156 GB, free: 1.273 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.6851, allocations: 2.172 kB / 1.156 GB, free: 1.273 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/0.686, allocations: 0.6277 MB / 1.157 GB, free: 0.832 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.686, allocations: 2.906 kB / 1.157 GB, free: 0.832 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.6862, allocations: 32.44 kB / 1.157 GB, free: 0.8281 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.6862, allocations: 3.266 kB / 1.157 GB, free: 0.8281 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.6862, allocations: 11.66 kB / 1.157 GB, free: 0.8203 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.6862, allocations: 4.078 kB / 1.157 GB, free: 0.8203 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.6862, allocations: 6.125 kB / 1.157 GB, free: 0.8164 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/0.6868, allocations: 433.9 kB / 1.157 GB, free: 0.5391 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.316e-05/0.6869, allocations: 48.72 kB / 1.157 GB, free: 0.5117 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.6869, allocations: 8.141 kB / 1.157 GB, free: 0.5078 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.687, allocations: 11.72 kB / 1.157 GB, free: 0.5039 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.6871, allocations: 23.64 kB / 1.157 GB, free: 0.4922 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.6871, allocations: 10.44 kB / 1.157 GB, free: 500 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002369/0.6873, allocations: 219.9 kB / 1.158 GB, free: 384 kB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6873, allocations: 0 / 1.158 GB, free: 384 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004394/0.6878, allocations: 82.41 kB / 1.158 GB, free: 368 kB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.001127/0.6889, allocations: 1.012 MB / 1.159 GB, free: 15.54 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0004112/0.6893, allocations: 168.2 kB / 1.159 GB, free: 15.49 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.6893, allocations: 0 / 1.159 GB, free: 15.49 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.6895, allocations: 88.36 kB / 1.159 GB, free: 15.46 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007921/0.6903, allocations: 155.5 kB / 1.159 GB, free: 15.42 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.6948, allocations: 2.868 MB / 1.162 GB, free: 13.5 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.695, allocations: 169.1 kB / 1.162 GB, free: 13.41 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.000286/0.6952, allocations: 62.38 kB / 1.162 GB, free: 13.4 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.6954, allocations: 84.69 kB / 1.162 GB, free: 13.34 MB / 1.026 GB Notification: Performance of SimCode: time 2.194e-06/0.6954, allocations: 0 / 1.162 GB, free: 13.34 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09636/0.7917, allocations: 9.874 MB / 1.172 GB, free: 11.74 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.549, allocations: 6.406 kB / 1.172 GB, free: 11.74 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_fmpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ../Buildings_13_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.391904036514461]