Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007824/0.007824, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001731, allocations: 274.5 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9375/0.9375, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007708/0.0007709, allocations: 19.91 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1915, allocations: 88.53 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5663/0.7579, allocations: 185.6 MB / 0.8663 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009483/0.7674, allocations: 5.699 MB / 0.8719 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.7691, allocations: 34.44 kB / 0.8719 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.7708, allocations: 0.493 MB / 0.8724 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004399/0.7752, allocations: 1.512 MB / 0.8739 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.7784, allocations: 1.09 MB / 0.875 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004024/0.7824, allocations: 3.494 MB / 0.8784 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.7836, allocations: 0.8202 MB / 0.8792 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.7855, allocations: 0.856 MB / 0.88 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002466/0.788, allocations: 0.801 MB / 0.8808 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002662/0.7883, allocations: 45.78 kB / 0.8808 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/0.7924, allocations: 1.698 MB / 0.8825 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006301/0.793, allocations: 430.7 kB / 0.8829 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009093/0.7939, allocations: 0.5731 MB / 0.8835 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.7975, allocations: 2.103 MB / 0.8855 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7975, allocations: 0 / 0.8855 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.265e-06/0.7976, allocations: 0 / 0.8855 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.682e-05/0.7976, allocations: 4 kB / 0.8855 GB, free: 2.859 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002582/0.8002, allocations: 1.243 MB / 0.8867 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.8003, allocations: 12.03 kB / 0.8868 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.8025, allocations: 346.2 kB / 0.8871 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.8037, allocations: 0.7726 MB / 0.8878 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003603/0.8041, allocations: 129.9 kB / 0.888 GB, free: 280 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.8042, allocations: 87.98 kB / 0.888 GB, free: 192 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.8061, allocations: 1.08 MB / 0.8891 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.8061, allocations: 3.938 kB / 0.8891 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/0.8062, allocations: 32 kB / 0.8891 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.8063, allocations: 41.94 kB / 0.8892 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.8078, allocations: 0.8431 MB / 0.89 GB, free: 14.16 MB / 0.6075 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.005293/0.8131, allocations: 4.074 MB / 0.894 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/0.8137, allocations: 367.4 kB / 0.8943 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.814, allocations: 216 kB / 0.8945 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/0.8142, allocations: 101.7 kB / 0.8946 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.8142, allocations: 38.56 kB / 0.8947 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.394e-06/0.8142, allocations: 4 kB / 0.8947 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.00236/0.8166, allocations: 1.341 MB / 0.896 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.8166, allocations: 55.41 kB / 0.896 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.8179, allocations: 0.996 MB / 0.897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.818, allocations: 33.7 kB / 0.897 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.8183, allocations: 495.3 kB / 0.8975 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.8184, allocations: 134 kB / 0.8976 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/0.8185, allocations: 57.69 kB / 0.8977 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8186, allocations: 329.9 kB / 0.898 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.8191, allocations: 241.2 kB / 0.8982 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005849/0.8197, allocations: 413.2 kB / 0.8986 GB, free: 4.832 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/0.8222, allocations: 1.184 MB / 0.8998 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.8222, allocations: 8 kB / 0.8998 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001449/0.8237, allocations: 0.7689 MB / 0.9005 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.8237, allocations: 11.98 kB / 0.9006 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.8237, allocations: 4 kB / 0.9006 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.8238, allocations: 8 kB / 0.9006 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.8243, allocations: 144.1 kB / 0.9007 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.8243, allocations: 15.92 kB / 0.9007 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.8253, allocations: 99.72 kB / 0.9008 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.8254, allocations: 24 kB / 0.9008 GB, free: 2.477 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.0004542/0.8259, allocations: 316.1 kB / 0.9011 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.826, allocations: 98.81 kB / 0.9012 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.8262, allocations: 105 kB / 0.9013 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.8262, allocations: 4 kB / 0.9013 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.8262, allocations: 4 kB / 0.9013 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006865/0.8269, allocations: 0.6752 MB / 0.902 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.8292, allocations: 1.592 MB / 0.9036 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-06/0.8292, allocations: 4.031 kB / 0.9036 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.8296, allocations: 79.91 kB / 0.9036 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.8296, allocations: 7.938 kB / 0.9036 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.8297, allocations: 23.92 kB / 0.9037 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.8297, allocations: 8 kB / 0.9037 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.8297, allocations: 4 kB / 0.9037 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009787/0.8307, allocations: 0.8217 MB / 0.9045 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.831, allocations: 239.9 kB / 0.9047 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.8311, allocations: 15.98 kB / 0.9047 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/0.8318, allocations: 61.14 kB / 0.9048 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.8319, allocations: 35.91 kB / 0.9048 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.832, allocations: 31.92 kB / 0.9049 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009583/0.8329, allocations: 0.7074 MB / 0.9055 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.8329, allocations: 0 / 0.9055 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008064/0.8338, allocations: 256 kB / 0.9058 GB, free: 13.12 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0004619/0.8342, allocations: 202 kB / 0.906 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008907/0.8351, allocations: 0.4962 MB / 0.9065 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8351, allocations: 4.062 kB / 0.9065 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.8354, allocations: 191.7 kB / 0.9066 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/0.8386, allocations: 0.6036 MB / 0.9072 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.8415, allocations: 2.271 MB / 0.9095 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.8421, allocations: 1.099 MB / 0.9105 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008004/0.843, allocations: 232.2 kB / 0.9108 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.8431, allocations: 71.44 kB / 0.9108 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.8431, allocations: 0 / 0.9108 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of Templates: time 0.03042/0.8736, allocations: 19.24 MB / 0.9296 GB, free: 4.922 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)