Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 110.6 kB / 15.99 MB, free: 6.348 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.001122/0.001122, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.239/1.239, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 292.8 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8814/0.8814, allocations: 169.2 MB / 0.4985 GB, free: 4.656 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 94.44 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1685, allocations: 86.97 MB / 0.6803 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.4721/0.6406, allocations: 186 MB / 0.8619 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.6552, allocations: 10.84 MB / 0.8725 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.6568, allocations: 43.69 kB / 0.8725 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.6582, allocations: 449.7 kB / 0.8729 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005858/0.6641, allocations: 2.421 MB / 0.8753 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005678/0.6698, allocations: 2.25 MB / 0.8775 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003859/0.6736, allocations: 2.77 MB / 0.8802 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.6748, allocations: 0.7689 MB / 0.881 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.6764, allocations: 1.012 MB / 0.882 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.6783, allocations: 1.105 MB / 0.883 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.6785, allocations: 96 kB / 0.8831 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00539/0.6839, allocations: 3.083 MB / 0.8861 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005699/0.6845, allocations: 446.8 kB / 0.8866 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006777/0.6851, allocations: 0.5793 MB / 0.8871 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002932/0.6881, allocations: 2.14 MB / 0.8892 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.6881, allocations: 0 / 0.8892 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6881, allocations: 0 / 0.8892 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.6881, allocations: 0 / 0.8892 GB, free: 9.359 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003221/0.6914, allocations: 1.674 MB / 0.8908 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.6914, allocations: 12.03 kB / 0.8909 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.6932, allocations: 290.5 kB / 0.8911 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.6943, allocations: 0.7881 MB / 0.8919 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.225e-05/0.6944, allocations: 49.3 kB / 0.892 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.6945, allocations: 67.98 kB / 0.892 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.6962, allocations: 0.9961 MB / 0.893 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6962, allocations: 0 / 0.893 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.093e-05/0.6963, allocations: 23.98 kB / 0.893 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.904e-05/0.6964, allocations: 73.95 kB / 0.8931 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.6979, allocations: 1.011 MB / 0.8941 GB, free: 4.27 MB / 0.6544 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.005688/0.7036, allocations: 3.582 MB / 0.8976 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.7047, allocations: 0.6547 MB / 0.8982 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.7053, allocations: 387.3 kB / 0.8986 GB, free: 15.41 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/0.7055, allocations: 198.7 kB / 0.8988 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.7056, allocations: 43.12 kB / 0.8988 GB, free: 15.13 MB / 0.67 GB Notification: Performance of pre-optimization done (n=62): time 2.815e-06/0.7056, allocations: 0 / 0.8988 GB, free: 15.13 MB / 0.67 GB Notification: Performance of matching and sorting (n=62): time 0.001909/0.7075, allocations: 1.017 MB / 0.8998 GB, free: 14.11 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.7076, allocations: 115.3 kB / 0.8999 GB, free: 13.97 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009682/0.7086, allocations: 0.8058 MB / 0.9007 GB, free: 13.16 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.7086, allocations: 37.7 kB / 0.9007 GB, free: 13.11 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.7089, allocations: 428.1 kB / 0.9011 GB, free: 12.69 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.7091, allocations: 212.9 kB / 0.9013 GB, free: 12.48 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.7094, allocations: 150.5 kB / 0.9015 GB, free: 12.32 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.7095, allocations: 334 kB / 0.9018 GB, free: 11.99 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.71, allocations: 336.7 kB / 0.9021 GB, free: 11.66 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005968/0.7106, allocations: 464.8 kB / 0.9026 GB, free: 11.18 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.7117, allocations: 0.7665 MB / 0.9033 GB, free: 10.38 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.7117, allocations: 0 / 0.9033 GB, free: 10.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001418/0.7131, allocations: 0.9374 MB / 0.9042 GB, free: 9.438 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.7131, allocations: 6.031 kB / 0.9042 GB, free: 9.434 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.7131, allocations: 4 kB / 0.9042 GB, free: 9.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7132, allocations: 4 kB / 0.9043 GB, free: 9.426 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.7138, allocations: 147.8 kB / 0.9044 GB, free: 9.281 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.7139, allocations: 11.98 kB / 0.9044 GB, free: 9.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/0.7147, allocations: 111.2 kB / 0.9045 GB, free: 9.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-05/0.7147, allocations: 31.88 kB / 0.9045 GB, free: 9.129 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007359/0.7155, allocations: 0.5408 MB / 0.9051 GB, free: 8.582 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005509/0.716, allocations: 450.5 kB / 0.9055 GB, free: 8.102 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009814/0.717, allocations: 0.7347 MB / 0.9062 GB, free: 7.328 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.918e-06/0.717, allocations: 3.984 kB / 0.9062 GB, free: 7.324 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00126/0.7183, allocations: 0.8865 MB / 0.9071 GB, free: 6.43 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.7183, allocations: 8 kB / 0.9071 GB, free: 6.422 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.7183, allocations: 0 / 0.9071 GB, free: 6.422 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.7184, allocations: 8 kB / 0.9071 GB, free: 6.414 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/0.719, allocations: 147.8 kB / 0.9072 GB, free: 6.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.719, allocations: 5.016 kB / 0.9072 GB, free: 6.266 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007576/0.7198, allocations: 91.66 kB / 0.9073 GB, free: 6.176 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.7198, allocations: 36 kB / 0.9074 GB, free: 6.141 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (88): * Single equations (assignments): 88 * 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.0001981/0.72, allocations: 216.1 kB / 0.9076 GB, free: 5.922 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.7202, allocations: 98.84 kB / 0.9077 GB, free: 5.828 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.7215, allocations: 0.8086 MB / 0.9085 GB, free: 5.02 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.7215, allocations: 8 kB / 0.9085 GB, free: 5.012 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7215, allocations: 0 / 0.9085 GB, free: 5.012 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009408/0.7225, allocations: 0.7399 MB / 0.9092 GB, free: 4.242 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.7253, allocations: 2.097 MB / 0.9112 GB, free: 2.047 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.7254, allocations: 5.812 kB / 0.9112 GB, free: 2.043 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/0.726, allocations: 139.7 kB / 0.9114 GB, free: 1.906 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.726, allocations: 4 kB / 0.9114 GB, free: 1.902 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.7261, allocations: 16 kB / 0.9114 GB, free: 1.887 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.7261, allocations: 8.438 kB / 0.9114 GB, free: 1.879 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7261, allocations: 8 kB / 0.9114 GB, free: 1.871 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.7278, allocations: 1.36 MB / 0.9127 GB, free: 464 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.7281, allocations: 259.8 kB / 0.913 GB, free: 184 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.7283, allocations: 16 kB / 0.913 GB, free: 168 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/0.7289, allocations: 47.88 kB / 0.913 GB, free: 120 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.729, allocations: 48.31 kB / 0.9131 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.729, allocations: 24 kB / 0.9131 GB, free: 44 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006374/0.7297, allocations: 0.5575 MB / 0.9137 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7297, allocations: 0 / 0.9137 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001597/0.7313, allocations: 0.7567 MB / 0.9144 GB, free: 14.73 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.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 (64): * Single equations (assignments): 64 * 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.001189/0.7325, allocations: 0.5438 MB / 0.9149 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002074/0.7346, allocations: 1.315 MB / 0.9162 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.7346, allocations: 4 kB / 0.9162 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004734/0.7351, allocations: 370.1 kB / 0.9166 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/0.7373, allocations: 0.5328 MB / 0.9171 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.7402, allocations: 2.298 MB / 0.9193 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/0.7408, allocations: 1.069 MB / 0.9204 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.7411, allocations: 87.42 kB / 0.9205 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of SimCode: time 5.31e-07/0.7411, allocations: 0 / 0.9205 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of Templates: time 0.02427/0.7654, allocations: 18.49 MB / 0.9385 GB, free: 6.09 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)