Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 104.5 kB / 16.27 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001067, allocations: 191.6 kB / 17.2 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.739/0.739, allocations: 122.8 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3005, allocations: 77.92 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.03966/0.3402, allocations: 49.76 MB / 0.6159 GB, free: 8.828 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01942/0.3596, allocations: 12.67 MB / 0.6282 GB, free: 12.13 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.3628, allocations: 79.56 kB / 0.6283 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.3651, allocations: 0.7643 MB / 0.6291 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005345/0.3706, allocations: 1.823 MB / 0.6308 GB, free: 9.453 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.3745, allocations: 1.347 MB / 0.6322 GB, free: 8.125 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00443/0.3789, allocations: 3.251 MB / 0.6353 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001874/0.3808, allocations: 1.253 MB / 0.6366 GB, free: 3.582 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002982/0.3838, allocations: 1.303 MB / 0.6378 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.3852, allocations: 0.9253 MB / 0.6387 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002611/0.3855, allocations: 96 kB / 0.6388 GB, free: 1.266 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.3878, allocations: 1.068 MB / 0.6399 GB, free: 200 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.3882, allocations: 294.8 kB / 0.6401 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008199/0.389, allocations: 0.6684 MB / 0.6408 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002609/0.3916, allocations: 1.928 MB / 0.6427 GB, free: 13.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3916, allocations: 7.938 kB / 0.6427 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3916, allocations: 0 / 0.6427 GB, free: 13.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.688e-05/0.3917, allocations: 0 / 0.6427 GB, free: 13.29 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002701/0.3944, allocations: 1.689 MB / 0.6443 GB, free: 11.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3944, allocations: 16.61 kB / 0.6444 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.3946, allocations: 131.4 kB / 0.6445 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006263/0.3952, allocations: 211 kB / 0.6447 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.3971, allocations: 1.026 MB / 0.6457 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.3975, allocations: 126 kB / 0.6458 GB, free: 9.984 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.3976, allocations: 80 kB / 0.6459 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.3993, allocations: 1.015 MB / 0.6469 GB, free: 8.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.3993, allocations: 4 kB / 0.6469 GB, free: 8.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-05/0.3994, allocations: 36 kB / 0.6469 GB, free: 8.773 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.3994, allocations: 20 kB / 0.6469 GB, free: 8.754 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.401, allocations: 0.6633 MB / 0.6476 GB, free: 8.086 MB / 494.1 MB 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.005018/0.406, allocations: 4.761 MB / 0.6522 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.4073, allocations: 414.6 kB / 0.6526 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.4079, allocations: 220.7 kB / 0.6528 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008338/0.4087, allocations: 1.148 MB / 0.654 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.4088, allocations: 46.56 kB / 0.654 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.794e-06/0.4088, allocations: 0 / 0.654 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002954/0.4117, allocations: 1.095 MB / 0.6551 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.4118, allocations: 55.41 kB / 0.6551 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.4129, allocations: 0.9715 MB / 0.6561 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.413, allocations: 33.7 kB / 0.6561 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/0.4134, allocations: 0.585 MB / 0.6567 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.673e-05/0.4135, allocations: 110.6 kB / 0.6568 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.4136, allocations: 114 kB / 0.6569 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/0.4137, allocations: 322 kB / 0.6572 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005797/0.4143, allocations: 209 kB / 0.6574 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.415, allocations: 414.3 kB / 0.6578 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.4163, allocations: 0.6145 MB / 0.6584 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4163, allocations: 0 / 0.6584 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001711/0.418, allocations: 0.7676 MB / 0.6591 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4181, allocations: 8 kB / 0.6591 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4181, allocations: 8 kB / 0.6592 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006486/0.4187, allocations: 167.2 kB / 0.6593 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.4194, allocations: 147.8 kB / 0.6595 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.4204, allocations: 1.712 MB / 0.6611 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.421, allocations: 87.33 kB / 0.6612 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/0.4211, allocations: 36.11 kB / 0.6612 GB, free: 9.141 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003333/0.4214, allocations: 269.6 kB / 0.6615 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.4216, allocations: 114.5 kB / 0.6616 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.4234, allocations: 0.7248 MB / 0.6623 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.4234, allocations: 15.81 kB / 0.6623 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4235, allocations: 3.984 kB / 0.6623 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4235, allocations: 0 / 0.6623 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.4263, allocations: 1.644 MB / 0.6639 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.4263, allocations: 0 / 0.6639 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.4268, allocations: 87.84 kB / 0.664 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005586/0.4274, allocations: 154.5 kB / 0.6642 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.4274, allocations: 8 kB / 0.6642 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.4285, allocations: 1.708 MB / 0.6658 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.4285, allocations: 8.297 kB / 0.6659 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.4302, allocations: 0.7883 MB / 0.6666 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.4305, allocations: 243.6 kB / 0.6669 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.4307, allocations: 11.98 kB / 0.6669 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/0.4313, allocations: 51.95 kB / 0.6669 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.4314, allocations: 35.89 kB / 0.667 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.4314, allocations: 19.98 kB / 0.667 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008333/0.4323, allocations: 0.6658 MB / 0.6676 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4323, allocations: 0 / 0.6676 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001004/0.4333, allocations: 375.1 kB / 0.668 GB, free: 1.984 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002609/0.4359, allocations: 1.643 MB / 0.6696 GB, free: 304 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.4377, allocations: 0.5713 MB / 0.6701 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4377, allocations: 0 / 0.6701 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008912/0.4386, allocations: 315.9 kB / 0.6704 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.441, allocations: 0.5172 MB / 0.6709 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.4524, allocations: 7.733 MB / 0.6785 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/0.453, allocations: 1.107 MB / 0.6796 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006355/0.4537, allocations: 190 kB / 0.6798 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/0.4541, allocations: 422.1 kB / 0.6802 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.4541, allocations: 0 / 0.6802 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05264/0.5068, allocations: 29.26 MB / 0.7087 GB, free: 8.145 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.39, allocations: 6.562 kB / 0.7087 GB, free: 8.141 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)