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.001282/0.001282, allocations: 106.1 kB / 16.41 MB, free: 6.445 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.001185/0.001185, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 288.7 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.9183/0.9183, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001764, allocations: 99.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4579, 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.1904/0.6484, allocations: 187.8 MB / 0.9505 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4229/1.071, allocations: 10.75 MB / 0.961 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/1.073, allocations: 39.66 kB / 0.961 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/1.074, allocations: 498.7 kB / 0.9615 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0072/1.081, allocations: 2.584 MB / 0.964 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006246/1.088, allocations: 2.466 MB / 0.9664 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003911/1.092, allocations: 2.77 MB / 0.9691 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/1.093, allocations: 0.7829 MB / 0.9699 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/1.095, allocations: 1.022 MB / 0.9709 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/1.097, allocations: 1.055 MB / 0.9719 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/1.097, allocations: 99.2 kB / 0.972 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005671/1.102, allocations: 3 MB / 0.9749 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005979/1.103, allocations: 437.2 kB / 0.9754 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008823/1.104, allocations: 0.5863 MB / 0.9759 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005405/1.109, allocations: 2.962 MB / 0.9788 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/1.109, allocations: 6.453 kB / 0.9788 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/1.109, allocations: 3.469 kB / 0.9788 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.79e-05/1.109, allocations: 0 / 0.9788 GB, free: 1.418 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.003313/1.113, allocations: 1.666 MB / 0.9805 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/1.113, allocations: 8.812 kB / 0.9805 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/1.115, allocations: 294.8 kB / 0.9807 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/1.116, allocations: 0.8326 MB / 0.9816 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/1.116, allocations: 49.81 kB / 0.9816 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/1.116, allocations: 69.72 kB / 0.9817 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/1.118, allocations: 1.001 MB / 0.9827 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/1.118, allocations: 0 / 0.9827 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/1.118, allocations: 31.69 kB / 0.9827 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.056e-05/1.118, allocations: 74.14 kB / 0.9828 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/1.119, allocations: 1.01 MB / 0.9837 GB, free: 16.06 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.00546/1.125, allocations: 3.576 MB / 0.9872 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009353/1.126, allocations: 0.6523 MB / 0.9879 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/1.126, allocations: 385 kB / 0.9882 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/1.126, allocations: 198.8 kB / 0.9884 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/1.126, allocations: 47.53 kB / 0.9885 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=62): time 2.544e-06/1.126, allocations: 0 / 0.9885 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62): time 0.001712/1.128, allocations: 1.025 MB / 0.9895 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/1.128, allocations: 112.7 kB / 0.9896 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008411/1.129, allocations: 0.8007 MB / 0.9904 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/1.129, allocations: 38.08 kB / 0.9904 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/1.129, allocations: 428.7 kB / 0.9908 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/1.13, allocations: 216.6 kB / 0.991 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/1.13, allocations: 146.7 kB / 0.9912 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.13, allocations: 339.8 kB / 0.9915 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/1.131, allocations: 338.8 kB / 0.9918 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/1.131, allocations: 466.4 kB / 0.9922 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009845/1.132, allocations: 0.7689 MB / 0.993 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.132, allocations: 0 / 0.993 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00133/1.133, allocations: 0.9285 MB / 0.9939 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.133, allocations: 10.91 kB / 0.9939 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.133, allocations: 1.094 kB / 0.9939 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/1.134, allocations: 7.438 kB / 0.9939 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/1.134, allocations: 152.1 kB / 0.9941 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/1.134, allocations: 4.812 kB / 0.9941 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/1.135, allocations: 85.67 kB / 0.9942 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/1.135, allocations: 28.03 kB / 0.9942 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007423/1.136, allocations: 0.5352 MB / 0.9947 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000586/1.136, allocations: 454.6 kB / 0.9951 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009359/1.137, allocations: 0.7324 MB / 0.9959 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/1.137, allocations: 0 / 0.9959 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001262/1.139, allocations: 0.8853 MB / 0.9967 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.139, allocations: 13.59 kB / 0.9967 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.139, allocations: 2.625 kB / 0.9967 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/1.139, allocations: 5.344 kB / 0.9967 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/1.139, allocations: 151.5 kB / 0.9969 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/1.139, allocations: 5.25 kB / 0.9969 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/1.14, allocations: 69.69 kB / 0.997 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/1.14, allocations: 27.12 kB / 0.997 GB, free: 12.71 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.0002438/1.14, allocations: 217.5 kB / 0.9972 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/1.14, allocations: 96.75 kB / 0.9973 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/1.142, allocations: 0.8119 MB / 0.9981 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.142, allocations: 4.812 kB / 0.9981 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.142, allocations: 3.562 kB / 0.9981 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009463/1.143, allocations: 0.7428 MB / 0.9988 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/1.146, allocations: 2.097 MB / 1.001 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.146, allocations: 5.594 kB / 1.001 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/1.146, allocations: 130.7 kB / 1.001 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/1.146, allocations: 10.03 kB / 1.001 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/1.146, allocations: 19.22 kB / 1.001 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/1.146, allocations: 9.031 kB / 1.001 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.146, allocations: 7.719 kB / 1.001 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/1.148, allocations: 1.354 MB / 1.002 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/1.148, allocations: 256.4 kB / 1.003 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.149, allocations: 18.78 kB / 1.003 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/1.149, allocations: 24.06 kB / 1.003 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/1.149, allocations: 46.44 kB / 1.003 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/1.149, allocations: 25.39 kB / 1.003 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006572/1.15, allocations: 0.5613 MB / 1.003 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.15, allocations: 0 / 1.003 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001943/1.152, allocations: 0.7487 MB / 1.004 GB, free: 11.14 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.001406/1.153, allocations: 0.5467 MB / 1.005 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002223/1.156, allocations: 1.184 MB / 1.006 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.156, allocations: 0.9062 kB / 1.006 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004951/1.156, allocations: 375.9 kB / 1.006 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/1.159, allocations: 0.5239 MB / 1.007 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/1.162, allocations: 1.967 MB / 1.008 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/1.163, allocations: 1.072 MB / 1.01 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/1.163, allocations: 86.91 kB / 1.01 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of SimCode: time 9.01e-07/1.163, allocations: 0 / 1.01 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of Templates: time 0.02938/1.192, allocations: 18.73 MB / 1.028 GB, free: 1.934 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)