Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",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.001373/0.001373, allocations: 104.9 kB / 16.4 MB, free: 6.496 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.001425/0.001425, allocations: 192 kB / 17.34 MB, free: 5.727 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8569/0.8569, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 70.14 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1518, allocations: 78.86 MB / 0.6506 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6017/0.7536, allocations: 242.5 MB / 0.8874 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02352/0.7772, allocations: 15.9 MB / 0.9029 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/0.7799, allocations: 79.5 kB / 0.903 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003392/0.7834, allocations: 1.181 MB / 0.9041 GB, free: 15.38 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.7939, allocations: 3.807 MB / 0.9078 GB, free: 11.56 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005088/0.799, allocations: 1.809 MB / 0.9096 GB, free: 9.758 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008353/0.8074, allocations: 5.228 MB / 0.9147 GB, free: 4.516 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002868/0.8103, allocations: 1.671 MB / 0.9163 GB, free: 2.809 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006836/0.8172, allocations: 2.861 MB / 0.9191 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00423/0.8214, allocations: 1.673 MB / 0.9208 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004765/0.8219, allocations: 176 kB / 0.9209 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006127/0.828, allocations: 2.697 MB / 0.9236 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.8292, allocations: 0.7634 MB / 0.9243 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001993/0.8312, allocations: 1.155 MB / 0.9255 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007153/0.8383, allocations: 3.577 MB / 0.9289 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.8384, allocations: 0 / 0.9289 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8384, allocations: 0 / 0.9289 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.974e-05/0.8385, allocations: 0 / 0.9289 GB, free: 5.879 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004955/0.8434, allocations: 2.574 MB / 0.9315 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.8435, allocations: 8.031 kB / 0.9315 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002884/0.8438, allocations: 211.1 kB / 0.9317 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.8468, allocations: 0.5216 MB / 0.9322 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.8494, allocations: 1.372 MB / 0.9335 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.8496, allocations: 174.2 kB / 0.9337 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.8498, allocations: 155.9 kB / 0.9338 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/0.8528, allocations: 1.733 MB / 0.9355 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.8529, allocations: 3.938 kB / 0.9355 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.853, allocations: 67.98 kB / 0.9356 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.405e-05/0.8531, allocations: 58.69 kB / 0.9356 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.8557, allocations: 1.384 MB / 0.937 GB, free: 13.41 MB / 0.7012 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.01059/0.8663, allocations: 8.376 MB / 0.9452 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.868, allocations: 0.8972 MB / 0.9461 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008995/0.8689, allocations: 0.538 MB / 0.9466 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006251/0.8696, allocations: 316.2 kB / 0.9469 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.8696, allocations: 47.56 kB / 0.9469 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=96): time 3.336e-06/0.8696, allocations: 0 / 0.9469 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102): time 0.007295/0.8769, allocations: 3.139 MB / 0.95 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.877, allocations: 68.39 kB / 0.9501 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.8788, allocations: 1.266 MB / 0.9513 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.8789, allocations: 49.64 kB / 0.9513 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007026/0.8796, allocations: 0.8266 MB / 0.9522 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.88, allocations: 388.7 kB / 0.9525 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003446/0.8804, allocations: 226.8 kB / 0.9527 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.8805, allocations: 349.9 kB / 0.9531 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008758/0.8814, allocations: 453.8 kB / 0.9535 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.8827, allocations: 0.8182 MB / 0.9543 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.8847, allocations: 1.257 MB / 0.9555 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.8847, allocations: 4 kB / 0.9555 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002779/0.8875, allocations: 1.414 MB / 0.9569 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.8876, allocations: 8 kB / 0.9569 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.8876, allocations: 12 kB / 0.9569 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.8876, allocations: 12 kB / 0.9569 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.8887, allocations: 279.5 kB / 0.9572 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.546e-05/0.8888, allocations: 20.34 kB / 0.9572 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.8901, allocations: 75.94 kB / 0.9573 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/0.8902, allocations: 55.98 kB / 0.9574 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001472/0.8917, allocations: 0.7718 MB / 0.9581 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001134/0.8929, allocations: 0.8221 MB / 0.9589 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001975/0.8948, allocations: 1.233 MB / 0.9601 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.867e-06/0.8949, allocations: 0 / 0.9601 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00255/0.8974, allocations: 1.399 MB / 0.9615 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8974, allocations: 9.906 kB / 0.9615 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.8975, allocations: 16 kB / 0.9615 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.8975, allocations: 12 kB / 0.9615 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.8986, allocations: 279.5 kB / 0.9618 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/0.8986, allocations: 19.94 kB / 0.9618 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.9, allocations: 78.61 kB / 0.9619 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/0.9001, allocations: 52 kB / 0.9619 GB, free: 2.375 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003884/0.9005, allocations: 267.8 kB / 0.9622 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.9007, allocations: 174.9 kB / 0.9624 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.9031, allocations: 1.156 MB / 0.9635 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.9031, allocations: 8 kB / 0.9635 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9031, allocations: 4 kB / 0.9635 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001748/0.9049, allocations: 1.079 MB / 0.9645 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004683/0.9096, allocations: 2.785 MB / 0.9673 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.9096, allocations: 0 / 0.9673 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.9108, allocations: 247.9 kB / 0.9675 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.9108, allocations: 8 kB / 0.9675 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/0.9108, allocations: 27.94 kB / 0.9675 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.404e-05/0.9109, allocations: 11.98 kB / 0.9675 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9109, allocations: 0 / 0.9675 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.9139, allocations: 1.784 MB / 0.9693 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006056/0.9145, allocations: 343.9 kB / 0.9696 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.9147, allocations: 28 kB / 0.9696 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009601/0.9156, allocations: 56.62 kB / 0.9697 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.9158, allocations: 72.95 kB / 0.9698 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/0.9159, allocations: 39.97 kB / 0.9698 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001158/0.917, allocations: 0.8426 MB / 0.9706 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.917, allocations: 0 / 0.9706 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001849/0.9189, allocations: 0.7655 MB / 0.9714 GB, free: 8.496 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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.00371/0.9226, allocations: 2.484 MB / 0.9738 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003256/0.9259, allocations: 1.74 MB / 0.9755 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.9259, allocations: 0 / 0.9755 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000911/0.9268, allocations: 0.5254 MB / 0.976 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004156/0.931, allocations: 0.8992 MB / 0.9769 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/0.9495, allocations: 12.06 MB / 0.9887 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.9506, allocations: 1.445 MB / 0.9901 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001859/0.9525, allocations: 0.5561 MB / 0.9906 GB, free: 4.223 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009365/0.9534, allocations: 0.6906 MB / 0.9913 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of SimCode: time 9.01e-07/0.9535, allocations: 0 / 0.9913 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09048/1.044, allocations: 45 MB / 1.035 GB, free: 7.051 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/11.57, allocations: 8.406 kB / 1.035 GB, free: 7.043 MB / 0.795 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)