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.001079/0.00108, allocations: 105.8 kB / 17.03 MB, free: 5.656 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.001114/0.001114, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.313/1.313, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7108/0.7108, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3039, allocations: 76.15 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4979/0.8018, allocations: 242.4 MB / 0.7943 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01798/0.8198, allocations: 15.9 MB / 0.8098 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002554/0.8224, allocations: 79.44 kB / 0.8099 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/0.8251, allocations: 1.178 MB / 0.811 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008818/0.8339, allocations: 3.812 MB / 0.8147 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004318/0.8383, allocations: 1.829 MB / 0.8165 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006035/0.8443, allocations: 5.254 MB / 0.8216 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/0.8466, allocations: 1.675 MB / 0.8233 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00549/0.8521, allocations: 2.602 MB / 0.8258 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003338/0.8554, allocations: 1.704 MB / 0.8275 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003869/0.8558, allocations: 176.3 kB / 0.8277 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005707/0.8616, allocations: 2.707 MB / 0.8303 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009508/0.8625, allocations: 0.7723 MB / 0.8311 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.8643, allocations: 1.15 MB / 0.8322 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005574/0.8699, allocations: 3.564 MB / 0.8357 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8699, allocations: 0 / 0.8357 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8699, allocations: 0 / 0.8357 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.335e-05/0.87, allocations: 3.938 kB / 0.8357 GB, free: 14.07 MB / 0.5919 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.004582/0.8746, allocations: 2.504 MB / 0.8381 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.8747, allocations: 8.406 kB / 0.8381 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/0.8777, allocations: 0.5096 MB / 0.8386 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.8805, allocations: 1.36 MB / 0.8399 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.8807, allocations: 172.3 kB / 0.8401 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/0.8809, allocations: 154.6 kB / 0.8403 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002902/0.8838, allocations: 1.735 MB / 0.8419 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.8839, allocations: 13.58 kB / 0.842 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.884, allocations: 61.38 kB / 0.842 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/0.8841, allocations: 64.88 kB / 0.8421 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.8865, allocations: 1.386 MB / 0.8434 GB, free: 9.551 MB / 0.5919 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.0096/0.8961, allocations: 8.194 MB / 0.8514 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.8977, allocations: 0.9102 MB / 0.8523 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008508/0.8985, allocations: 0.5263 MB / 0.8528 GB, free: 380 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/0.8992, allocations: 325.5 kB / 0.8531 GB, free: 4 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/0.8992, allocations: 54.09 kB / 0.8532 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 3.076e-06/0.8993, allocations: 0 / 0.8532 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.006654/0.9059, allocations: 3.119 MB / 0.8562 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.906, allocations: 60.41 kB / 0.8563 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.9075, allocations: 1.266 MB / 0.8575 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.9076, allocations: 49.7 kB / 0.8576 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/0.9082, allocations: 0.8121 MB / 0.8584 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.9084, allocations: 364.6 kB / 0.8587 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/0.9088, allocations: 230.7 kB / 0.8589 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.9089, allocations: 353.9 kB / 0.8593 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008027/0.9097, allocations: 445.8 kB / 0.8597 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.9108, allocations: 0.8296 MB / 0.8605 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.9126, allocations: 1.246 MB / 0.8617 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.9127, allocations: 4 kB / 0.8617 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002451/0.9151, allocations: 1.404 MB / 0.8631 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.9152, allocations: 12.22 kB / 0.8631 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.9152, allocations: 14.53 kB / 0.8631 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.9152, allocations: 16 kB / 0.8632 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.9164, allocations: 277.7 kB / 0.8634 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/0.9164, allocations: 18.62 kB / 0.8634 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.9177, allocations: 71.84 kB / 0.8635 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.083e-05/0.9178, allocations: 52 kB / 0.8636 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001305/0.9192, allocations: 0.7718 MB / 0.8643 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00106/0.9202, allocations: 0.8193 MB / 0.8651 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001793/0.922, allocations: 1.233 MB / 0.8663 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.218e-06/0.9221, allocations: 4 kB / 0.8663 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002423/0.9245, allocations: 1.392 MB / 0.8677 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.9245, allocations: 11.94 kB / 0.8677 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.9245, allocations: 8 kB / 0.8677 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.9246, allocations: 16 kB / 0.8677 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.9257, allocations: 278.5 kB / 0.868 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.9257, allocations: 21.06 kB / 0.868 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.927, allocations: 73.73 kB / 0.8681 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/0.9271, allocations: 55.98 kB / 0.8681 GB, free: 212 kB / 0.6075 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.000354/0.9275, allocations: 262.7 kB / 0.8684 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.9278, allocations: 170 kB / 0.8685 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.93, allocations: 1.157 MB / 0.8697 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.93, allocations: 15.98 kB / 0.8697 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9301, allocations: 0 / 0.8697 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001694/0.9318, allocations: 1.082 MB / 0.8707 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004833/0.9366, allocations: 2.786 MB / 0.8735 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.9366, allocations: 4 kB / 0.8735 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.9378, allocations: 242.1 kB / 0.8737 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.9379, allocations: 4.219 kB / 0.8737 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.452e-05/0.9379, allocations: 38.52 kB / 0.8737 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.938, allocations: 7.938 kB / 0.8737 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.938, allocations: 4 kB / 0.8737 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.9408, allocations: 1.757 MB / 0.8755 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007775/0.9416, allocations: 335 kB / 0.8758 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.9418, allocations: 24 kB / 0.8758 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.9429, allocations: 66.31 kB / 0.8759 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.943, allocations: 60.91 kB / 0.8759 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.966e-05/0.9431, allocations: 43.98 kB / 0.876 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001084/0.9442, allocations: 0.8348 MB / 0.8768 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9442, allocations: 6.625 kB / 0.8768 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001883/0.9461, allocations: 0.7695 MB / 0.8775 GB, free: 6.438 MB / 0.6231 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.0005354/0.9466, allocations: 273.5 kB / 0.8778 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002944/0.9496, allocations: 1.738 MB / 0.8795 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9496, allocations: 0.5625 kB / 0.8795 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008509/0.9505, allocations: 0.5163 MB / 0.88 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/0.954, allocations: 0.9086 MB / 0.8809 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.9592, allocations: 3.462 MB / 0.8843 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009554/0.9602, allocations: 1.449 MB / 0.8857 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001771/0.962, allocations: 0.56 MB / 0.8862 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/0.9623, allocations: 127.4 kB / 0.8863 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.9623, allocations: 0 / 0.8863 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.05008/1.012, allocations: 31.2 MB / 0.9168 GB, free: 14.84 MB / 0.67 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)