Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001007/0.001007, allocations: 108.3 kB / 19.73 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.001431/0.001431, allocations: 214.8 kB / 23.02 MB, free: 2.957 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 0.9546/0.9546, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.936/1.936, allocations: 0.5045 GB / 0.8104 GB, free: 2.742 MB / 0.6511 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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_13_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_13_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.89 kB / 1.177 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.7304, allocations: 180 MB / 1.352 GB, free: 1.527 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.138/0.8684, allocations: 165.5 MB / 1.514 GB, free: 11.42 MB / 1.198 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.8791, allocations: 11.95 MB / 1.526 GB, free: 15.44 MB / 1.214 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009358/0.8801, allocations: 39.69 kB / 1.526 GB, free: 15.4 MB / 1.214 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.8812, allocations: 409.3 kB / 1.526 GB, free: 15 MB / 1.214 GB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.8828, allocations: 0.95 MB / 1.527 GB, free: 14.04 MB / 1.214 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.8844, allocations: 0.7211 MB / 1.528 GB, free: 13.33 MB / 1.214 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.8857, allocations: 1.493 MB / 1.529 GB, free: 11.83 MB / 1.214 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.8861, allocations: 464.7 kB / 1.53 GB, free: 11.37 MB / 1.214 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.8885, allocations: 1.864 MB / 1.532 GB, free: 9.5 MB / 1.214 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008092/0.8893, allocations: 0.4949 MB / 1.532 GB, free: 9.008 MB / 1.214 GB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.8894, allocations: 52 kB / 1.532 GB, free: 8.957 MB / 1.214 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008597/0.8902, allocations: 0.7171 MB / 1.533 GB, free: 8.238 MB / 1.214 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.8904, allocations: 287.1 kB / 1.533 GB, free: 7.957 MB / 1.214 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.8906, allocations: 314.5 kB / 1.533 GB, free: 7.648 MB / 1.214 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.8917, allocations: 1.16 MB / 1.534 GB, free: 6.484 MB / 1.214 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8917, allocations: 0 / 1.534 GB, free: 6.484 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8917, allocations: 4 kB / 1.534 GB, free: 6.48 MB / 1.214 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.8917, allocations: 0 / 1.534 GB, free: 6.48 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.000996/0.8927, allocations: 0.9906 MB / 1.535 GB, free: 5.453 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.8927, allocations: 8.922 kB / 1.535 GB, free: 5.445 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.839e-05/0.8928, allocations: 98.52 kB / 1.536 GB, free: 5.34 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006224/0.8934, allocations: 207.2 kB / 1.536 GB, free: 5.137 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.894, allocations: 490.5 kB / 1.536 GB, free: 4.637 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.894, allocations: 45.31 kB / 1.536 GB, free: 4.594 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.8941, allocations: 52 kB / 1.536 GB, free: 4.543 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.8948, allocations: 0.8001 MB / 1.537 GB, free: 3.625 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.8948, allocations: 7.984 kB / 1.537 GB, free: 3.617 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.8949, allocations: 31.94 kB / 1.537 GB, free: 3.586 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.8949, allocations: 24.98 kB / 1.537 GB, free: 3.562 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006567/0.8955, allocations: 459.1 kB / 1.538 GB, free: 3.109 MB / 1.214 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.002495/0.898, allocations: 4.018 MB / 1.542 GB, free: 14.92 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 9.071e-05/0.8981, allocations: 102.3 kB / 1.542 GB, free: 14.79 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/0.8982, allocations: 71.58 kB / 1.542 GB, free: 14.7 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-05/0.8983, allocations: 16 kB / 1.542 GB, free: 14.69 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.8983, allocations: 38.55 kB / 1.542 GB, free: 14.64 MB / 1.229 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.8983, allocations: 0 / 1.542 GB, free: 14.64 MB / 1.229 GB Notification: Performance of matching and sorting (n=10): time 0.0004253/0.8987, allocations: 253.2 kB / 1.542 GB, free: 14.39 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.8988, allocations: 128.5 kB / 1.542 GB, free: 14.23 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006916/0.8995, allocations: 0.8485 MB / 1.543 GB, free: 13.37 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.8995, allocations: 29.7 kB / 1.543 GB, free: 13.34 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.8997, allocations: 407.7 kB / 1.543 GB, free: 12.93 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.8997, allocations: 55.61 kB / 1.543 GB, free: 12.88 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.8998, allocations: 89.97 kB / 1.543 GB, free: 12.79 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 7.852e-05/0.8999, allocations: 325.9 kB / 1.544 GB, free: 12.46 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.9, allocations: 112.7 kB / 1.544 GB, free: 12.35 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.9003, allocations: 0.5041 MB / 1.544 GB, free: 11.7 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.9007, allocations: 441.6 kB / 1.545 GB, free: 11.16 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.9007, allocations: 4 kB / 1.545 GB, free: 11.15 MB / 1.229 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005278/0.9012, allocations: 0.4968 MB / 1.545 GB, free: 10.65 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.9012, allocations: 15.94 kB / 1.545 GB, free: 10.63 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.9012, allocations: 4 kB / 1.545 GB, free: 10.63 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.9012, allocations: 12 kB / 1.545 GB, free: 10.62 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.9014, allocations: 92.33 kB / 1.545 GB, free: 10.53 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.9014, allocations: 23.92 kB / 1.545 GB, free: 10.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.9017, allocations: 111.3 kB / 1.546 GB, free: 10.39 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.9018, allocations: 24 kB / 1.546 GB, free: 10.37 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0001717/0.9019, allocations: 233.6 kB / 1.546 GB, free: 10.13 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.31e-05/0.902, allocations: 79.48 kB / 1.546 GB, free: 10.05 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.882e-05/0.9021, allocations: 74.66 kB / 1.546 GB, free: 9.977 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.9021, allocations: 0 / 1.546 GB, free: 9.977 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9021, allocations: 0 / 1.546 GB, free: 9.977 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.9021, allocations: 7.938 kB / 1.546 GB, free: 9.969 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008223/0.9029, allocations: 1.038 MB / 1.547 GB, free: 8.848 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9029, allocations: 3.938 kB / 1.547 GB, free: 8.844 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.903, allocations: 19.94 kB / 1.547 GB, free: 8.824 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.903, allocations: 4 kB / 1.547 GB, free: 8.82 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.903, allocations: 11.98 kB / 1.547 GB, free: 8.809 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.903, allocations: 3.984 kB / 1.547 GB, free: 8.805 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.903, allocations: 4 kB / 1.547 GB, free: 8.801 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.9032, allocations: 268.2 kB / 1.547 GB, free: 8.492 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.9033, allocations: 95.42 kB / 1.547 GB, free: 8.398 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.9033, allocations: 12.09 kB / 1.547 GB, free: 8.387 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.9035, allocations: 15.98 kB / 1.547 GB, free: 8.371 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.9035, allocations: 15.92 kB / 1.547 GB, free: 8.355 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.9035, allocations: 8 kB / 1.547 GB, free: 8.348 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.000776/0.9043, allocations: 0.5849 MB / 1.548 GB, free: 7.766 MB / 1.229 GB Notification: Performance of sort global known variables: time 8e-08/0.9043, allocations: 0 / 1.548 GB, free: 7.766 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.0003622/0.9046, allocations: 159.8 kB / 1.548 GB, free: 7.609 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0005936/0.9052, allocations: 0.8786 MB / 1.549 GB, free: 6.684 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.9056, allocations: 236.7 kB / 1.549 GB, free: 6.453 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9056, allocations: 7.875 kB / 1.549 GB, free: 6.445 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.9056, allocations: 49.41 kB / 1.549 GB, free: 6.398 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008504/0.9065, allocations: 360 kB / 1.55 GB, free: 6.055 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005509/0.912, allocations: 5.447 MB / 1.555 GB, free: 260 kB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.9122, allocations: 340.6 kB / 1.555 GB, free: 15.89 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.000365/0.9126, allocations: 142.1 kB / 1.555 GB, free: 15.75 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.9128, allocations: 227.4 kB / 1.556 GB, free: 15.53 MB / 1.245 GB Notification: Performance of SimCode: time 4.21e-07/0.9128, allocations: 0 / 1.556 GB, free: 15.53 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/1.041, allocations: 19.87 MB / 1.575 GB, free: 12.18 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.311/9.352, allocations: 3.938 kB / 1.575 GB, free: 12.18 MB / 1.26 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu) > Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_fmpy_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu) > Buildings_13_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.15804962348193]