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.001261/0.001261, allocations: 109 kB / 16.41 MB, free: 6.488 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.001216/0.001217, allocations: 187 kB / 17.34 MB, free: 5.73 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 297.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9507/0.9507, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 92.28 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4727/0.4745, allocations: 86.97 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2046/0.6792, allocations: 187.8 MB / 0.9505 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5096/1.189, allocations: 10.74 MB / 0.961 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/1.19, allocations: 41.25 kB / 0.961 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/1.192, allocations: 499.9 kB / 0.9615 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007562/1.2, allocations: 2.584 MB / 0.964 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00625/1.206, allocations: 2.464 MB / 0.9664 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004113/1.21, allocations: 2.773 MB / 0.9691 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/1.211, allocations: 0.7791 MB / 0.9699 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/1.213, allocations: 1.02 MB / 0.9709 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/1.215, allocations: 1.056 MB / 0.9719 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001709/1.216, allocations: 96.88 kB / 0.972 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006088/1.222, allocations: 3.007 MB / 0.9749 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000557/1.222, allocations: 438.2 kB / 0.9754 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008465/1.223, allocations: 0.5815 MB / 0.9759 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005677/1.229, allocations: 2.964 MB / 0.9788 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.229, allocations: 2.062 kB / 0.9788 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.255e-06/1.229, allocations: 3.188 kB / 0.9788 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.593e-05/1.229, allocations: 0.6562 kB / 0.9788 GB, free: 1.449 MB / 0.7169 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.003971/1.233, allocations: 1.673 MB / 0.9805 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.233, allocations: 9.281 kB / 0.9805 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/1.235, allocations: 290.6 kB / 0.9808 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/1.236, allocations: 0.8324 MB / 0.9816 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/1.236, allocations: 53.48 kB / 0.9816 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.236, allocations: 68.7 kB / 0.9817 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/1.238, allocations: 1.001 MB / 0.9827 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/1.238, allocations: 0 / 0.9827 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.863e-05/1.238, allocations: 27.12 kB / 0.9827 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-05/1.238, allocations: 77.41 kB / 0.9828 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/1.239, allocations: 1.007 MB / 0.9837 GB, free: 16.09 MB / 0.7325 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.00538/1.245, allocations: 3.579 MB / 0.9872 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009657/1.246, allocations: 0.6561 MB / 0.9879 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/1.246, allocations: 374.6 kB / 0.9882 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/1.246, allocations: 201.8 kB / 0.9884 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/1.246, allocations: 39.19 kB / 0.9885 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=62): time 2.825e-06/1.246, allocations: 1.062 kB / 0.9885 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62): time 0.001789/1.248, allocations: 1.018 MB / 0.9895 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/1.248, allocations: 119.6 kB / 0.9896 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009208/1.249, allocations: 0.7969 MB / 0.9904 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.33e-05/1.249, allocations: 45.27 kB / 0.9904 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/1.25, allocations: 423.4 kB / 0.9908 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/1.25, allocations: 224.4 kB / 0.991 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/1.25, allocations: 143.1 kB / 0.9911 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.25, allocations: 333 kB / 0.9915 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/1.251, allocations: 342.5 kB / 0.9918 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/1.251, allocations: 464.2 kB / 0.9922 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009827/1.252, allocations: 0.7731 MB / 0.993 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.252, allocations: 0.875 kB / 0.993 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001309/1.253, allocations: 0.9295 MB / 0.9939 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.253, allocations: 12.88 kB / 0.9939 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.253, allocations: 2.375 kB / 0.9939 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.253, allocations: 6.281 kB / 0.9939 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/1.254, allocations: 148.3 kB / 0.9941 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.254, allocations: 8.531 kB / 0.9941 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/1.255, allocations: 87.59 kB / 0.9942 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/1.255, allocations: 21.81 kB / 0.9942 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007495/1.256, allocations: 0.5418 MB / 0.9947 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005258/1.256, allocations: 448.3 kB / 0.9951 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008916/1.257, allocations: 0.7319 MB / 0.9958 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/1.257, allocations: 6.406 kB / 0.9959 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001203/1.258, allocations: 0.8821 MB / 0.9967 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.258, allocations: 11.84 kB / 0.9967 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.258, allocations: 3.406 kB / 0.9967 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/1.258, allocations: 5.531 kB / 0.9967 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/1.259, allocations: 148.2 kB / 0.9969 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.259, allocations: 10.98 kB / 0.9969 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/1.26, allocations: 65.66 kB / 0.9969 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/1.26, allocations: 37.3 kB / 0.997 GB, free: 12.74 MB / 0.7325 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.0002351/1.26, allocations: 216.1 kB / 0.9972 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/1.26, allocations: 98.22 kB / 0.9973 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/1.262, allocations: 0.8067 MB / 0.9981 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.262, allocations: 8.094 kB / 0.9981 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.262, allocations: 0 / 0.9981 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009143/1.263, allocations: 0.7412 MB / 0.9988 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/1.265, allocations: 2.093 MB / 1.001 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.265, allocations: 3.406 kB / 1.001 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/1.266, allocations: 137.1 kB / 1.001 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/1.266, allocations: 13.31 kB / 1.001 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.462e-05/1.266, allocations: 13.78 kB / 1.001 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/1.266, allocations: 9.469 kB / 1.001 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.266, allocations: 5.375 kB / 1.001 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/1.268, allocations: 1.357 MB / 1.002 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/1.268, allocations: 255.8 kB / 1.003 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/1.268, allocations: 20 kB / 1.003 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/1.269, allocations: 28.08 kB / 1.003 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/1.269, allocations: 48.45 kB / 1.003 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/1.269, allocations: 22.12 kB / 1.003 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006086/1.27, allocations: 0.5632 MB / 1.003 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.27, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001744/1.271, allocations: 0.7442 MB / 1.004 GB, free: 11.17 MB / 0.7325 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.001226/1.273, allocations: 0.5498 MB / 1.005 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001996/1.275, allocations: 1.186 MB / 1.006 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.275, allocations: 4.125 kB / 1.006 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004721/1.275, allocations: 369.3 kB / 1.006 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/1.277, allocations: 0.5338 MB / 1.007 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/1.28, allocations: 1.966 MB / 1.008 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/1.281, allocations: 1.076 MB / 1.01 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/1.281, allocations: 80.23 kB / 1.01 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of SimCode: time 8.22e-07/1.281, allocations: 1.953 kB / 1.01 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of Templates: time 0.02774/1.309, allocations: 18.59 MB / 1.028 GB, free: 2.09 MB / 0.7325 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)