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.001177/0.001177, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 286.5 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.947/0.947, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 95.23 kB / 0.5952 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1648, allocations: 86.99 MB / 0.6802 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4884/0.6533, allocations: 187.1 MB / 0.8629 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01452/0.6678, allocations: 13.01 MB / 0.8756 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.6691, allocations: 32.03 kB / 0.8756 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.6704, allocations: 412.4 kB / 0.876 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.6726, allocations: 0.9262 MB / 0.8769 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.6744, allocations: 0.6983 MB / 0.8776 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.6761, allocations: 1.5 MB / 0.8791 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008046/0.677, allocations: 0.6538 MB / 0.8797 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003569/0.6805, allocations: 1.713 MB / 0.8814 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.6816, allocations: 0.506 MB / 0.8819 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.634e-05/0.6817, allocations: 53.22 kB / 0.8819 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.6833, allocations: 0.8821 MB / 0.8828 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.6835, allocations: 272 kB / 0.883 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004594/0.684, allocations: 392.6 kB / 0.8834 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.6862, allocations: 1.153 MB / 0.8845 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6862, allocations: 0 / 0.8845 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6862, allocations: 0 / 0.8845 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.027e-05/0.6862, allocations: 3.984 kB / 0.8845 GB, free: 2.34 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.001667/0.6879, allocations: 1.049 MB / 0.8856 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.6879, allocations: 13.94 kB / 0.8856 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009681/0.6889, allocations: 194.4 kB / 0.8858 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007351/0.6897, allocations: 0.5201 MB / 0.8863 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/0.69, allocations: 98.88 kB / 0.8864 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.6901, allocations: 62.06 kB / 0.8864 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.6912, allocations: 0.7782 MB / 0.8872 GB, free: 276 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6912, allocations: 6.188 kB / 0.8872 GB, free: 272 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.576e-05/0.6913, allocations: 31.77 kB / 0.8872 GB, free: 248 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.6913, allocations: 21.31 kB / 0.8872 GB, free: 248 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000856/0.6922, allocations: 472.6 kB / 0.8877 GB, free: 16 kB / 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.003693/0.6959, allocations: 4.41 MB / 0.892 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.696, allocations: 108.9 kB / 0.8921 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/0.6962, allocations: 73.09 kB / 0.8922 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.6963, allocations: 97.75 kB / 0.8923 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.6964, allocations: 39.38 kB / 0.8923 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.6964, allocations: 0 / 0.8923 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006279/0.697, allocations: 237.5 kB / 0.8925 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.6971, allocations: 135.4 kB / 0.8927 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.6981, allocations: 0.8472 MB / 0.8935 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.6982, allocations: 29.7 kB / 0.8935 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.6985, allocations: 400.8 kB / 0.8939 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.6985, allocations: 38.95 kB / 0.8939 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.6987, allocations: 95.44 kB / 0.894 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6988, allocations: 324.3 kB / 0.8943 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.6991, allocations: 114.2 kB / 0.8944 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.6996, allocations: 374.6 kB / 0.8948 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/0.7002, allocations: 452.1 kB / 0.8952 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.7002, allocations: 2.938 kB / 0.8952 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009195/0.7011, allocations: 0.5024 MB / 0.8957 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.7011, allocations: 11.84 kB / 0.8957 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.7011, allocations: 7.344 kB / 0.8957 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.7012, allocations: 12.22 kB / 0.8958 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.7015, allocations: 97.08 kB / 0.8958 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.7015, allocations: 9.938 kB / 0.8959 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006689/0.7022, allocations: 125.5 kB / 0.896 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.7022, allocations: 27.53 kB / 0.896 GB, free: 8.77 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002306/0.7025, allocations: 233.7 kB / 0.8962 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.7026, allocations: 76.59 kB / 0.8963 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.863e-05/0.7027, allocations: 69.7 kB / 0.8964 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.7027, allocations: 2.688 kB / 0.8964 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.7027, allocations: 0 / 0.8964 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.7027, allocations: 10.44 kB / 0.8964 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.704, allocations: 1.127 MB / 0.8975 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.704, allocations: 6.844 kB / 0.8975 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.823e-05/0.7041, allocations: 16.52 kB / 0.8975 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7041, allocations: 5.625 kB / 0.8975 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7041, allocations: 2.719 kB / 0.8975 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.7041, allocations: 6.031 kB / 0.8975 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.7041, allocations: 4.688 kB / 0.8975 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.7044, allocations: 258.5 kB / 0.8978 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.7046, allocations: 175.9 kB / 0.8979 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.555e-05/0.7047, allocations: 6.781 kB / 0.8979 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.7051, allocations: 16.39 kB / 0.898 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.7051, allocations: 20.39 kB / 0.898 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.7051, allocations: 5.781 kB / 0.898 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000758/0.7059, allocations: 0.5907 MB / 0.8986 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.7059, allocations: 0 / 0.8986 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005671/0.7064, allocations: 157.5 kB / 0.8987 GB, free: 6.633 MB / 0.6075 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.0004525/0.7069, allocations: 200.8 kB / 0.8989 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005529/0.7075, allocations: 249.1 kB / 0.8991 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7075, allocations: 0 / 0.8991 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.804e-05/0.7076, allocations: 56.61 kB / 0.8992 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.7092, allocations: 361.9 kB / 0.8995 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.7107, allocations: 1.077 MB / 0.9006 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.7112, allocations: 0.9331 MB / 0.9015 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00047/0.7117, allocations: 162 kB / 0.9016 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.7118, allocations: 47.44 kB / 0.9017 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.7118, allocations: 0 / 0.9017 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.02023/0.732, allocations: 11.74 MB / 0.9132 GB, free: 8.004 MB / 0.6231 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)