Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000886/0.0008861, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.007012/0.007012, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.395/1.395, allocations: 223.2 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 275 kB / 291.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9516/0.9516, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004196, allocations: 15.88 kB / 0.5987 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.181, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04537/0.2264, allocations: 48.42 MB / 0.7324 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01904/0.2455, allocations: 12.58 MB / 0.7447 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.2481, allocations: 63.56 kB / 0.7448 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.25, allocations: 0.6174 MB / 0.7454 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004947/0.2549, allocations: 1.709 MB / 0.747 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.2582, allocations: 1.207 MB / 0.7482 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004929/0.2632, allocations: 4.372 MB / 0.7525 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.2646, allocations: 1.035 MB / 0.7535 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.2666, allocations: 1.069 MB / 0.7545 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.2676, allocations: 0.8977 MB / 0.7554 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.2677, allocations: 44 kB / 0.7554 GB, free: 6.812 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.2698, allocations: 1.041 MB / 0.7565 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.2701, allocations: 218.9 kB / 0.7567 GB, free: 5.555 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007305/0.2709, allocations: 0.627 MB / 0.7573 GB, free: 4.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.2735, allocations: 1.873 MB / 0.7591 GB, free: 3.039 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2735, allocations: 7.938 kB / 0.7591 GB, free: 3.031 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2735, allocations: 3.938 kB / 0.7591 GB, free: 3.027 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.2735, allocations: 0 / 0.7591 GB, free: 3.027 MB / 0.545 GB 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.002441/0.276, allocations: 1.468 MB / 0.7606 GB, free: 1.504 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.276, allocations: 12.03 kB / 0.7606 GB, free: 1.492 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.2766, allocations: 223.1 kB / 0.7608 GB, free: 1.273 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.2785, allocations: 1.1 MB / 0.7619 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3329/0.6115, allocations: 129.4 kB / 0.762 GB, free: 79.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002912/0.6118, allocations: 82.22 kB / 0.7621 GB, free: 79.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.6141, allocations: 1 MB / 0.763 GB, free: 79.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.6141, allocations: 1.781 kB / 0.763 GB, free: 79.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.6142, allocations: 38 kB / 0.7631 GB, free: 79.63 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/0.6142, allocations: 25.94 kB / 0.7631 GB, free: 79.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.616, allocations: 0.6878 MB / 0.7638 GB, free: 79.61 MB / 0.545 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.005112/0.6211, allocations: 4.445 MB / 0.7681 GB, free: 76.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.6223, allocations: 441.4 kB / 0.7685 GB, free: 76.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005628/0.6229, allocations: 241.3 kB / 0.7688 GB, free: 76.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006389/0.6236, allocations: 1.149 MB / 0.7699 GB, free: 75.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.6236, allocations: 39.84 kB / 0.7699 GB, free: 75.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 2.033e-06/0.6236, allocations: 0 / 0.7699 GB, free: 75.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.002857/0.6265, allocations: 1.147 MB / 0.771 GB, free: 74.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.6265, allocations: 62.19 kB / 0.7711 GB, free: 74.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.6276, allocations: 0.9337 MB / 0.772 GB, free: 74.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.6276, allocations: 32.05 kB / 0.772 GB, free: 74.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.628, allocations: 0.5796 MB / 0.7726 GB, free: 73.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.6281, allocations: 109.3 kB / 0.7727 GB, free: 73.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.6281, allocations: 36.92 kB / 0.7727 GB, free: 73.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.6282, allocations: 327.9 kB / 0.7731 GB, free: 73.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/0.6288, allocations: 216.2 kB / 0.7733 GB, free: 73.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006468/0.6294, allocations: 396.6 kB / 0.7736 GB, free: 72.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.6306, allocations: 0.6087 MB / 0.7742 GB, free: 72.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6306, allocations: 5.969 kB / 0.7742 GB, free: 72.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001553/0.6322, allocations: 0.7662 MB / 0.775 GB, free: 72.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.6322, allocations: 12.59 kB / 0.775 GB, free: 72.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.6322, allocations: 6.625 kB / 0.775 GB, free: 72.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/0.6328, allocations: 160.2 kB / 0.7752 GB, free: 72.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/0.6335, allocations: 159.2 kB / 0.7753 GB, free: 72.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007659/0.6343, allocations: 1.719 MB / 0.777 GB, free: 70.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/0.635, allocations: 114.4 kB / 0.7771 GB, free: 70.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/0.6351, allocations: 30.17 kB / 0.7771 GB, free: 70.55 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.0003764/0.6355, allocations: 266.7 kB / 0.7774 GB, free: 70.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.6356, allocations: 114.9 kB / 0.7775 GB, free: 70.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.6376, allocations: 0.775 MB / 0.7783 GB, free: 70 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.6376, allocations: 6.844 kB / 0.7783 GB, free: 70 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6376, allocations: 0 / 0.7783 GB, free: 70 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.6376, allocations: 6.344 kB / 0.7783 GB, free: 69.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.6407, allocations: 1.674 MB / 0.7799 GB, free: 69.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.6407, allocations: 2.922 kB / 0.7799 GB, free: 69.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005197/0.6412, allocations: 104.7 kB / 0.78 GB, free: 69.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005373/0.6418, allocations: 150.1 kB / 0.7801 GB, free: 69.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.6418, allocations: 15.09 kB / 0.7802 GB, free: 69.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007269/0.6425, allocations: 1.709 MB / 0.7818 GB, free: 67.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6425, allocations: 2.75 kB / 0.7818 GB, free: 67.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.6441, allocations: 0.8224 MB / 0.7826 GB, free: 67.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.6444, allocations: 243.4 kB / 0.7829 GB, free: 66.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.675e-05/0.6445, allocations: 10.52 kB / 0.7829 GB, free: 66.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006868/0.6452, allocations: 90.78 kB / 0.783 GB, free: 66.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.6453, allocations: 28.56 kB / 0.783 GB, free: 66.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.6454, allocations: 20.72 kB / 0.783 GB, free: 66.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007892/0.6462, allocations: 0.6344 MB / 0.7836 GB, free: 66.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6462, allocations: 3.562 kB / 0.7836 GB, free: 66.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001004/0.6472, allocations: 362.9 kB / 0.784 GB, free: 66.51 MB / 0.545 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.0007543/0.6479, allocations: 396.1 kB / 0.7844 GB, free: 66.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001591/0.6495, allocations: 0.5778 MB / 0.7849 GB, free: 66.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6496, allocations: 0 / 0.7849 GB, free: 66.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008198/0.6504, allocations: 312.4 kB / 0.7852 GB, free: 66.15 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/0.6531, allocations: 0.5039 MB / 0.7857 GB, free: 66.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.6561, allocations: 2.303 MB / 0.788 GB, free: 64.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006602/0.6568, allocations: 1.108 MB / 0.789 GB, free: 63.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007673/0.6576, allocations: 180.7 kB / 0.7892 GB, free: 63.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.6577, allocations: 65.45 kB / 0.7893 GB, free: 63.85 MB / 0.545 GB Notification: Performance of SimCode: time 7.42e-07/0.6577, allocations: 0 / 0.7893 GB, free: 63.85 MB / 0.545 GB Notification: Performance of Templates: time 0.03457/0.6923, allocations: 19.09 MB / 0.8079 GB, free: 53.64 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)