Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009794/0.0009794, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001055/0.001055, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0018/0.0018, allocations: 267 kB / 291.3 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9408/0.9408, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 17.56 kB / 0.598 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1357, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4238/0.5595, allocations: 170.2 MB / 0.8507 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.013/0.5726, allocations: 12.08 MB / 0.8625 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006782/0.5733, allocations: 28.59 kB / 0.8625 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009142/0.5742, allocations: 276.5 kB / 0.8628 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.5758, allocations: 0.719 MB / 0.8635 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.5772, allocations: 0.5657 MB / 0.864 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.5788, allocations: 1.769 MB / 0.8657 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006193/0.5795, allocations: 499.7 kB / 0.8662 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002441/0.5819, allocations: 1.276 MB / 0.8675 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005926/0.5825, allocations: 477.8 kB / 0.8679 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.5826, allocations: 24.75 kB / 0.8679 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.5836, allocations: 0.5996 MB / 0.8685 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.5839, allocations: 255.2 kB / 0.8688 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.584, allocations: 160.4 kB / 0.8689 GB, free: 0 / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007919/0.5848, allocations: 0.8151 MB / 0.8697 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5848, allocations: 4 kB / 0.8697 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5848, allocations: 0 / 0.8697 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.5849, allocations: 0 / 0.8697 GB, free: 15.49 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001106/0.586, allocations: 0.9283 MB / 0.8706 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.586, allocations: 7.906 kB / 0.8706 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008472/0.5869, allocations: 202.6 kB / 0.8708 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.5875, allocations: 0.5089 MB / 0.8713 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000308/0.5878, allocations: 107.2 kB / 0.8714 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.5879, allocations: 58.38 kB / 0.8715 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.589, allocations: 0.765 MB / 0.8722 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.589, allocations: 6.438 kB / 0.8722 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.5891, allocations: 24 kB / 0.8723 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.5891, allocations: 25.22 kB / 0.8723 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008394/0.5899, allocations: 473.1 kB / 0.8727 GB, free: 13.3 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.004605/0.5946, allocations: 4.173 MB / 0.8768 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.5947, allocations: 104 kB / 0.8769 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.5949, allocations: 75.06 kB / 0.877 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.5951, allocations: 102.8 kB / 0.8771 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.5952, allocations: 38.56 kB / 0.8771 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 4.018e-06/0.5952, allocations: 1.781 kB / 0.8771 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0009503/0.5962, allocations: 245.4 kB / 0.8774 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.5963, allocations: 131.5 kB / 0.8775 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.5979, allocations: 0.8365 MB / 0.8783 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.5979, allocations: 28.55 kB / 0.8783 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.5983, allocations: 397.4 kB / 0.8787 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.5984, allocations: 37.28 kB / 0.8787 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.5984, allocations: 8 kB / 0.8787 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5986, allocations: 319.1 kB / 0.8791 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.599, allocations: 114.8 kB / 0.8792 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/0.5997, allocations: 348.9 kB / 0.8795 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.6002, allocations: 169.5 kB / 0.8797 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.6002, allocations: 2.844 kB / 0.8797 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001351/0.6016, allocations: 499 kB / 0.8801 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.6016, allocations: 12.23 kB / 0.8801 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6016, allocations: 7.969 kB / 0.8802 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.6017, allocations: 10.44 kB / 0.8802 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.6022, allocations: 95.33 kB / 0.8803 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.6022, allocations: 15.45 kB / 0.8803 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.6033, allocations: 133.2 kB / 0.8804 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.6033, allocations: 23.53 kB / 0.8804 GB, free: 6.758 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003679/0.6037, allocations: 223.1 kB / 0.8806 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.6039, allocations: 84.77 kB / 0.8807 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.6041, allocations: 70.75 kB / 0.8808 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6041, allocations: 2.656 kB / 0.8808 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6041, allocations: 3.156 kB / 0.8808 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.6042, allocations: 3.984 kB / 0.8808 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.6061, allocations: 1.126 MB / 0.8819 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6061, allocations: 0 / 0.8819 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.6063, allocations: 17.09 kB / 0.8819 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6063, allocations: 2.438 kB / 0.8819 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.6063, allocations: 2.438 kB / 0.8819 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.6063, allocations: 13.02 kB / 0.8819 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.6064, allocations: 6.781 kB / 0.8819 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.6068, allocations: 258.4 kB / 0.8822 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.6071, allocations: 172.1 kB / 0.8823 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.6073, allocations: 7.984 kB / 0.8823 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/0.6078, allocations: 31.92 kB / 0.8824 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.6079, allocations: 15.88 kB / 0.8824 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.6079, allocations: 4 kB / 0.8824 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001192/0.6091, allocations: 0.5849 MB / 0.883 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6091, allocations: 0 / 0.883 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009253/0.61, allocations: 151.8 kB / 0.8831 GB, free: 4.234 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000542/0.6106, allocations: 204.3 kB / 0.8833 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007674/0.6114, allocations: 233 kB / 0.8835 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6114, allocations: 0 / 0.8835 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.6115, allocations: 48.67 kB / 0.8836 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.6141, allocations: 359.1 kB / 0.8839 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.6164, allocations: 1.242 MB / 0.8851 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.6171, allocations: 0.9372 MB / 0.886 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007585/0.6179, allocations: 146.3 kB / 0.8862 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.618, allocations: 51.42 kB / 0.8862 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.618, allocations: 0 / 0.8862 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of Templates: time 0.02544/0.6435, allocations: 10.89 MB / 0.8969 GB, free: 6.32 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)