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: translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00095/0.0009499, allocations: 92.8 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 184.2 kB / 16.92 MB, free: 6.934 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.349/1.349, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6605/0.6605, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 8 kB / 495.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.144, allocations: 77.53 MB / 0.5599 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5381/0.6821, allocations: 237.2 MB / 0.7916 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02296/0.7051, allocations: 15.91 MB / 0.8071 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00227/0.7074, allocations: 67.5 kB / 0.8072 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.7102, allocations: 1.022 MB / 0.8082 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009639/0.7199, allocations: 3.598 MB / 0.8117 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004676/0.7246, allocations: 1.638 MB / 0.8133 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008901/0.7335, allocations: 7.412 MB / 0.8205 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/0.7362, allocations: 1.383 MB / 0.8219 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006295/0.7425, allocations: 2.299 MB / 0.8241 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004137/0.7467, allocations: 1.724 MB / 0.8258 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005047/0.7472, allocations: 84 kB / 0.8259 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006664/0.7539, allocations: 3.133 MB / 0.829 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.755, allocations: 0.6775 MB / 0.8296 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.7568, allocations: 1.063 MB / 0.8307 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.393/1.15, allocations: 3.589 MB / 0.8342 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.15, allocations: 1.094 kB / 0.8342 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.485e-06/1.15, allocations: 0.5312 kB / 0.8342 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.699e-05/1.15, allocations: 0.9375 kB / 0.8342 GB, free: 14.78 MB / 0.6387 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.005965/1.156, allocations: 2.117 MB / 0.8362 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.156, allocations: 8.484 kB / 0.8362 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003829/1.16, allocations: 0.5051 MB / 0.8367 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004066/1.164, allocations: 1.276 MB / 0.838 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/1.164, allocations: 176.6 kB / 0.8381 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003356/1.164, allocations: 155.7 kB / 0.8383 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003961/1.168, allocations: 1.75 MB / 0.84 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-05/1.169, allocations: 6.125 kB / 0.84 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/1.169, allocations: 68.94 kB / 0.8401 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/1.169, allocations: 59.34 kB / 0.8401 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/1.172, allocations: 1.392 MB / 0.8415 GB, free: 12.93 MB / 0.6387 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.01056/1.183, allocations: 8.203 MB / 0.8495 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/1.184, allocations: 0.9143 MB / 0.8504 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009495/1.185, allocations: 0.546 MB / 0.8509 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005945/1.186, allocations: 337.1 kB / 0.8512 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.186, allocations: 51.03 kB / 0.8513 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=96): time 4.628e-06/1.186, allocations: 0.7188 kB / 0.8513 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=102): time 0.008145/1.194, allocations: 3.174 MB / 0.8544 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/1.194, allocations: 62.59 kB / 0.8545 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/1.196, allocations: 1.259 MB / 0.8557 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/1.196, allocations: 55.31 kB / 0.8557 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005862/1.197, allocations: 0.8142 MB / 0.8565 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/1.197, allocations: 367 kB / 0.8569 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/1.197, allocations: 100 kB / 0.857 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0003103/1.198, allocations: 360.5 kB / 0.8573 GB, free: 21.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007919/1.199, allocations: 452.7 kB / 0.8578 GB, free: 21.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.2, allocations: 0.8351 MB / 0.8586 GB, free: 21.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/1.201, allocations: 1.268 MB / 0.8598 GB, free: 21.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.201, allocations: 2.125 kB / 0.8598 GB, free: 21.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002571/1.204, allocations: 1.423 MB / 0.8612 GB, free: 21.03 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/1.204, allocations: 373.5 kB / 0.8616 GB, free: 20.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.204, allocations: 9.469 kB / 0.8616 GB, free: 20.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/1.204, allocations: 15 kB / 0.8616 GB, free: 20.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.205, allocations: 276 kB / 0.8618 GB, free: 20.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/1.205, allocations: 24.88 kB / 0.8619 GB, free: 20.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/1.207, allocations: 180.5 kB / 0.862 GB, free: 20.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.609e-05/1.208, allocations: 49.19 kB / 0.8621 GB, free: 20.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/1.208, allocations: 2.625 kB / 0.8621 GB, free: 20.57 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002038/1.21, allocations: 1.242 MB / 0.8633 GB, free: 20.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.21, allocations: 12.12 kB / 0.8633 GB, free: 20.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.21, allocations: 19.66 kB / 0.8633 GB, free: 20.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/1.211, allocations: 276.5 kB / 0.8636 GB, free: 20.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/1.211, allocations: 20.14 kB / 0.8636 GB, free: 20.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/1.213, allocations: 182.3 kB / 0.8638 GB, free: 20.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/1.213, allocations: 47.02 kB / 0.8638 GB, free: 20.53 MB / 0.6544 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.001123/1.214, allocations: 0.5108 MB / 0.8643 GB, free: 20.33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/1.214, allocations: 163.9 kB / 0.8645 GB, free: 20.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/1.216, allocations: 1.183 MB / 0.8656 GB, free: 20.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.216, allocations: 11.09 kB / 0.8657 GB, free: 20.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.216, allocations: 0 / 0.8657 GB, free: 20.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001519/1.218, allocations: 1.1 MB / 0.8667 GB, free: 19.87 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00516/1.223, allocations: 2.809 MB / 0.8695 GB, free: 19.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.223, allocations: 2.656 kB / 0.8695 GB, free: 19.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.224, allocations: 251.7 kB / 0.8697 GB, free: 19.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/1.224, allocations: 3.188 kB / 0.8697 GB, free: 19.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/1.224, allocations: 33.64 kB / 0.8697 GB, free: 19.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/1.224, allocations: 6.469 kB / 0.8698 GB, free: 19.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.224, allocations: 3.625 kB / 0.8698 GB, free: 19.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/1.227, allocations: 1.793 MB / 0.8715 GB, free: 19.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009307/1.228, allocations: 336.7 kB / 0.8718 GB, free: 18.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/1.229, allocations: 27.66 kB / 0.8719 GB, free: 18.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/1.23, allocations: 143.9 kB / 0.872 GB, free: 18.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/1.23, allocations: 66.11 kB / 0.8721 GB, free: 18.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/1.23, allocations: 39.11 kB / 0.8721 GB, free: 18.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001954/1.232, allocations: 0.8447 MB / 0.8729 GB, free: 18.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.71e-07/1.232, allocations: 0 / 0.8729 GB, free: 18.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002843/1.235, allocations: 0.7641 MB / 0.8737 GB, free: 18.82 MB / 0.6544 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.0006352/1.236, allocations: 284.2 kB / 0.8739 GB, free: 18.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003242/1.239, allocations: 1.759 MB / 0.8757 GB, free: 18.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.239, allocations: 2.812 kB / 0.8757 GB, free: 18.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009036/1.24, allocations: 0.5242 MB / 0.8762 GB, free: 18.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005281/1.245, allocations: 0.9697 MB / 0.8771 GB, free: 18.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/1.251, allocations: 4.374 MB / 0.8814 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/1.252, allocations: 1.435 MB / 0.8828 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002355/1.255, allocations: 0.5615 MB / 0.8833 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/1.255, allocations: 128.7 kB / 0.8835 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of SimCode: time 1.272e-06/1.255, allocations: 0 / 0.8835 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of Templates: time 0.05359/1.309, allocations: 30.25 MB / 0.913 GB, free: 4.258 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)