Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.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.001209/0.001209, 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.001447/0.001447, allocations: 173.6 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.9531/0.9531, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.851/1.851, allocations: 389.6 MB / 0.6343 GB, free: 12.6 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.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.453e-05, allocations: 2.281 kB / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01617/0.01619, allocations: 21.47 MB / 1.022 GB, free: 7.941 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00539/0.02158, allocations: 4.733 MB / 1.026 GB, free: 3.195 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000629/0.02221, allocations: 39.62 kB / 1.026 GB, free: 3.156 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006926/0.0229, allocations: 289.9 kB / 1.027 GB, free: 2.871 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.02447, allocations: 0.8468 MB / 1.027 GB, free: 2.02 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.02581, allocations: 0.8096 MB / 1.028 GB, free: 1.215 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001592/0.0274, allocations: 1.624 MB / 1.03 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006135/0.02802, allocations: 381.4 kB / 1.03 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.02963, allocations: 0.9212 MB / 1.031 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004997/0.03013, allocations: 394.8 kB / 1.031 GB, free: 13.9 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.03019, allocations: 44 kB / 1.031 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007038/0.0309, allocations: 419 kB / 1.032 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.03102, allocations: 155.4 kB / 1.032 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.03119, allocations: 215.5 kB / 1.032 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.03232, allocations: 0.9464 MB / 1.033 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.03232, allocations: 4 kB / 1.033 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.763e-06/0.03232, allocations: 0 / 1.033 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.03233, allocations: 0 / 1.033 GB, free: 12.13 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001062/0.0334, allocations: 0.8198 MB / 1.034 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.03344, allocations: 9.344 kB / 1.034 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.463e-05/0.03351, allocations: 78.72 kB / 1.034 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.03369, allocations: 68.55 kB / 1.034 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000774/0.03446, allocations: 0.5029 MB / 1.035 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.03449, allocations: 33.38 kB / 1.035 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.03454, allocations: 44.12 kB / 1.035 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.03504, allocations: 0.5056 MB / 1.035 GB, free: 9.973 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.03505, allocations: 0 / 1.035 GB, free: 9.973 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.03508, allocations: 16 kB / 1.035 GB, free: 9.957 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.0351, allocations: 8 kB / 1.035 GB, free: 9.949 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.03544, allocations: 307.8 kB / 1.035 GB, free: 9.645 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.03713, allocations: 1.521 MB / 1.037 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.03752, allocations: 242.8 kB / 1.037 GB, free: 7.816 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.03765, allocations: 123.3 kB / 1.037 GB, free: 7.695 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.0379, allocations: 107.9 kB / 1.037 GB, free: 7.59 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.03792, allocations: 38.56 kB / 1.037 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.03793, allocations: 0 / 1.037 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26): time 0.0004745/0.0384, allocations: 365.2 kB / 1.038 GB, free: 7.18 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.03843, allocations: 55.41 kB / 1.038 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006924/0.03912, allocations: 481.9 kB / 1.038 GB, free: 6.629 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.03918, allocations: 33.7 kB / 1.038 GB, free: 6.59 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.03933, allocations: 264.4 kB / 1.039 GB, free: 6.328 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.921e-05/0.03942, allocations: 95.23 kB / 1.039 GB, free: 6.234 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/0.03951, allocations: 73.97 kB / 1.039 GB, free: 6.156 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.03963, allocations: 354.8 kB / 1.039 GB, free: 5.801 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.03976, allocations: 100.5 kB / 1.039 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.03995, allocations: 245.2 kB / 1.039 GB, free: 5.422 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.04022, allocations: 290.7 kB / 1.04 GB, free: 5.113 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.04023, allocations: 0 / 1.04 GB, free: 5.113 MB / 0.9948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004278/0.04066, allocations: 354.5 kB / 1.04 GB, free: 4.762 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.04068, allocations: 8 kB / 1.04 GB, free: 4.754 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.04068, allocations: 0 / 1.04 GB, free: 4.754 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.0407, allocations: 4 kB / 1.04 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.0409, allocations: 76.12 kB / 1.04 GB, free: 4.676 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.04091, allocations: 11.92 kB / 1.04 GB, free: 4.664 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.04108, allocations: 47.56 kB / 1.04 GB, free: 4.617 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.04111, allocations: 19.94 kB / 1.04 GB, free: 4.598 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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.0001714/0.04128, allocations: 178.4 kB / 1.04 GB, free: 4.414 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.04135, allocations: 47.72 kB / 1.04 GB, free: 4.367 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005612/0.04191, allocations: 481.3 kB / 1.041 GB, free: 3.895 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.04192, allocations: 4 kB / 1.041 GB, free: 3.891 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.04192, allocations: 0 / 1.041 GB, free: 3.891 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004028/0.04233, allocations: 0.5821 MB / 1.041 GB, free: 3.242 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.04356, allocations: 1.002 MB / 1.042 GB, free: 2.172 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.04356, allocations: 15.91 kB / 1.042 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.04372, allocations: 51.97 kB / 1.042 GB, free: 2.105 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.04373, allocations: 0 / 1.042 GB, free: 2.105 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.04374, allocations: 15.98 kB / 1.043 GB, free: 2.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.04375, allocations: 3.938 kB / 1.043 GB, free: 2.086 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.04375, allocations: 4 kB / 1.043 GB, free: 2.082 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/0.04437, allocations: 0.6681 MB / 1.043 GB, free: 1.379 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.04451, allocations: 107.4 kB / 1.043 GB, free: 1.273 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.04455, allocations: 8 kB / 1.043 GB, free: 1.266 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.0447, allocations: 20 kB / 1.043 GB, free: 1.246 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.04473, allocations: 23.95 kB / 1.043 GB, free: 1.223 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.04475, allocations: 15.98 kB / 1.043 GB, free: 1.207 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002679/0.04502, allocations: 342.9 kB / 1.044 GB, free: 0.875 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.04502, allocations: 0 / 1.044 GB, free: 0.875 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004962/0.04552, allocations: 203.5 kB / 1.044 GB, free: 0.6758 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001306/0.04682, allocations: 1.404 MB / 1.045 GB, free: 15.23 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.04725, allocations: 280.4 kB / 1.045 GB, free: 14.95 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.04725, allocations: 0 / 1.045 GB, free: 14.95 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.04741, allocations: 152.4 kB / 1.046 GB, free: 14.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000947/0.04836, allocations: 319.1 kB / 1.046 GB, free: 14.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/0.05277, allocations: 4.16 MB / 1.05 GB, free: 10.17 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.05297, allocations: 266.4 kB / 1.05 GB, free: 9.887 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003605/0.05333, allocations: 120.6 kB / 1.05 GB, free: 9.766 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.05354, allocations: 196.4 kB / 1.051 GB, free: 9.574 MB / 1.01 GB Notification: Performance of SimCode: time 2.104e-06/0.05354, allocations: 0 / 1.051 GB, free: 9.574 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5852/0.6388, allocations: 18.66 MB / 1.069 GB, free: 94.84 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.584, allocations: 5.672 kB / 1.069 GB, free: 94.84 MB / 1.01 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_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_HeatMeter.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.334890038706362]