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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9627/0.9627, allocations: 143.4 MB / 159.2 MB, free: 4.895 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 183.5 kB / 191.9 MB, free: 5.691 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 447.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 99.5 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001913/0.001912, allocations: 287.4 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 79.88 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3647, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5021/0.8669, allocations: 184.8 MB / 0.9484 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01248/0.8794, allocations: 13.05 MB / 0.9612 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.8806, allocations: 25.94 kB / 0.9612 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.8817, allocations: 339 kB / 0.9615 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.8837, allocations: 0.8688 MB / 0.9624 GB, free: 15.7 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.8853, allocations: 0.6256 MB / 0.963 GB, free: 15.67 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002155/0.8875, allocations: 2.097 MB / 0.965 GB, free: 15.66 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000882/0.8884, allocations: 0.5505 MB / 0.9656 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004304/0.8927, allocations: 1.604 MB / 0.9671 GB, free: 15.5 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.8947, allocations: 0.534 MB / 0.9677 GB, free: 15.41 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.8948, allocations: 34.97 kB / 0.9677 GB, free: 15.41 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.8965, allocations: 0.9681 MB / 0.9686 GB, free: 15.4 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003357/0.8969, allocations: 254.7 kB / 0.9689 GB, free: 15.38 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.8973, allocations: 363.7 kB / 0.9692 GB, free: 15.26 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.8989, allocations: 1.18 MB / 0.9704 GB, free: 15.1 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.8989, allocations: 0 / 0.9704 GB, free: 15.1 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.12e-07/0.8989, allocations: 2.031 kB / 0.9704 GB, free: 15.1 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.899, allocations: 0 / 0.9704 GB, free: 15.1 MB / 0.573 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.001503/0.9005, allocations: 1.057 MB / 0.9714 GB, free: 14.44 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.9005, allocations: 7.625 kB / 0.9714 GB, free: 14.44 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008908/0.9014, allocations: 189.6 kB / 0.9716 GB, free: 14.39 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/0.9022, allocations: 0.5208 MB / 0.9721 GB, free: 14.07 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000381/0.9026, allocations: 97.73 kB / 0.9722 GB, free: 14.05 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-05/0.9027, allocations: 63.22 kB / 0.9723 GB, free: 14.03 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.9038, allocations: 0.7589 MB / 0.973 GB, free: 13.55 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.9038, allocations: 10.02 kB / 0.973 GB, free: 13.55 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.9039, allocations: 30.78 kB / 0.973 GB, free: 13.53 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.9039, allocations: 23.19 kB / 0.9731 GB, free: 13.53 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008856/0.9048, allocations: 469.1 kB / 0.9735 GB, free: 13.38 MB / 0.573 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.003401/0.9082, allocations: 4.17 MB / 0.9776 GB, free: 9.57 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.9083, allocations: 95.83 kB / 0.9777 GB, free: 9.465 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.906e-05/0.9085, allocations: 90.88 kB / 0.9778 GB, free: 9.398 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.9086, allocations: 91.31 kB / 0.9779 GB, free: 9.301 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.9086, allocations: 37.78 kB / 0.9779 GB, free: 9.258 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.9087, allocations: 0 / 0.9779 GB, free: 9.258 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.0005926/0.9093, allocations: 236.1 kB / 0.9781 GB, free: 9.137 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.9093, allocations: 137.8 kB / 0.9782 GB, free: 8.977 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.9103, allocations: 0.8361 MB / 0.9791 GB, free: 8.512 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.9104, allocations: 25.7 kB / 0.9791 GB, free: 8.48 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.9106, allocations: 390.5 kB / 0.9795 GB, free: 8.141 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.9107, allocations: 47.16 kB / 0.9795 GB, free: 8.105 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.9108, allocations: 88.06 kB / 0.9796 GB, free: 8.047 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.9109, allocations: 324.6 kB / 0.9799 GB, free: 7.727 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.9112, allocations: 113 kB / 0.98 GB, free: 7.676 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.9116, allocations: 348.4 kB / 0.9803 GB, free: 7.316 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.9121, allocations: 408.3 kB / 0.9807 GB, free: 6.961 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.9122, allocations: 2.281 kB / 0.9807 GB, free: 6.961 MB / 0.573 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008779/0.913, allocations: 492 kB / 0.9812 GB, free: 6.75 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.9131, allocations: 9.844 kB / 0.9812 GB, free: 6.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.9131, allocations: 5.25 kB / 0.9812 GB, free: 6.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.9131, allocations: 10.12 kB / 0.9812 GB, free: 6.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.9134, allocations: 89.67 kB / 0.9813 GB, free: 6.738 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.9134, allocations: 14.52 kB / 0.9813 GB, free: 6.734 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006812/0.9141, allocations: 129.2 kB / 0.9814 GB, free: 6.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.9142, allocations: 33.62 kB / 0.9815 GB, free: 6.648 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.9144, allocations: 224.8 kB / 0.9817 GB, free: 6.473 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.9146, allocations: 72.47 kB / 0.9818 GB, free: 6.438 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.9147, allocations: 67.89 kB / 0.9818 GB, free: 6.391 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.9147, allocations: 2.312 kB / 0.9818 GB, free: 6.391 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.9147, allocations: 2.531 kB / 0.9818 GB, free: 6.391 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.9147, allocations: 4 kB / 0.9818 GB, free: 6.387 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.9159, allocations: 1.127 MB / 0.9829 GB, free: 5.402 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.9159, allocations: 5.031 kB / 0.9829 GB, free: 5.402 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-05/0.916, allocations: 21.23 kB / 0.983 GB, free: 5.395 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.916, allocations: 5.875 kB / 0.983 GB, free: 5.395 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.916, allocations: 2.812 kB / 0.983 GB, free: 5.395 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.916, allocations: 4.531 kB / 0.983 GB, free: 5.395 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.916, allocations: 2.594 kB / 0.983 GB, free: 5.395 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006173/0.9167, allocations: 0.9777 MB / 0.9839 GB, free: 4.496 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.9169, allocations: 167.4 kB / 0.9841 GB, free: 4.34 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/0.917, allocations: 13.22 kB / 0.9841 GB, free: 4.332 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.9173, allocations: 20.17 kB / 0.9841 GB, free: 4.324 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.9173, allocations: 15.66 kB / 0.9841 GB, free: 4.316 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.9174, allocations: 8.766 kB / 0.9841 GB, free: 4.312 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007394/0.9181, allocations: 0.5867 MB / 0.9847 GB, free: 3.984 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9181, allocations: 96 / 0.9847 GB, free: 3.984 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006431/0.9188, allocations: 154.6 kB / 0.9849 GB, free: 3.961 MB / 0.573 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 (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.0004021/0.9192, allocations: 204.1 kB / 0.9851 GB, free: 3.832 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004905/0.9197, allocations: 232.8 kB / 0.9853 GB, free: 3.754 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9197, allocations: 0 / 0.9853 GB, free: 3.754 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 6.543e-05/0.9198, allocations: 51.27 kB / 0.9853 GB, free: 3.738 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.9215, allocations: 366.7 kB / 0.9857 GB, free: 3.562 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.923, allocations: 1.38 MB / 0.987 GB, free: 2.543 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.9234, allocations: 0.9385 MB / 0.9879 GB, free: 1.727 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004589/0.9239, allocations: 138.2 kB / 0.9881 GB, free: 1.664 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.924, allocations: 44.72 kB / 0.9881 GB, free: 1.656 MB / 0.573 GB Notification: Performance of SimCode: time 2.7e-07/0.924, allocations: 4 kB / 0.9881 GB, free: 1.652 MB / 0.573 GB Notification: Performance of Templates: time 0.01996/0.944, allocations: 11.53 MB / 0.9994 GB, free: 9.617 MB / 0.5886 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)