Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001113/0.001113, allocations: 193.3 kB / 16.14 MB, free: 6.66 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.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 290.7 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.915/0.915, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 94.78 kB / 0.5945 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1695, allocations: 86.98 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5548/0.7243, allocations: 218.8 MB / 0.8931 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009377/0.7337, allocations: 5.783 MB / 0.8988 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.7354, allocations: 36.56 kB / 0.8988 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.7369, allocations: 0.5058 MB / 0.8993 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004264/0.7412, allocations: 1.743 MB / 0.901 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.744, allocations: 1.073 MB / 0.9021 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004216/0.7483, allocations: 4.093 MB / 0.9061 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.7497, allocations: 0.8732 MB / 0.9069 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.7518, allocations: 0.914 MB / 0.9078 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.7548, allocations: 0.9888 MB / 0.9088 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.7551, allocations: 56 kB / 0.9088 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.7586, allocations: 1.633 MB / 0.9104 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007232/0.7593, allocations: 410.8 kB / 0.9108 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.7606, allocations: 0.5948 MB / 0.9114 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.7643, allocations: 2.165 MB / 0.9135 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7643, allocations: 0 / 0.9135 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7643, allocations: 0 / 0.9135 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.47e-05/0.7643, allocations: 0 / 0.9135 GB, free: 8.246 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003091/0.7674, allocations: 1.508 MB / 0.915 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.7675, allocations: 12.03 kB / 0.915 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.7696, allocations: 318.2 kB / 0.9153 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.7709, allocations: 0.8085 MB / 0.9161 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/0.7709, allocations: 66 kB / 0.9161 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.7711, allocations: 84 kB / 0.9162 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.7727, allocations: 0.9247 MB / 0.9171 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.7727, allocations: 3.906 kB / 0.9171 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.086e-05/0.7728, allocations: 36 kB / 0.9172 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.7729, allocations: 37.94 kB / 0.9172 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.7743, allocations: 0.8392 MB / 0.918 GB, free: 3.516 MB / 0.6231 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.005455/0.7797, allocations: 3.524 MB / 0.9215 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.7805, allocations: 493.1 kB / 0.9219 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/0.7809, allocations: 296.5 kB / 0.9222 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.7811, allocations: 109.5 kB / 0.9223 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.7812, allocations: 42.91 kB / 0.9224 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.7812, allocations: 0 / 0.9224 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003597/0.7848, allocations: 1.88 MB / 0.9242 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.7848, allocations: 55.84 kB / 0.9243 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000946/0.7858, allocations: 0.8019 MB / 0.925 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.7859, allocations: 37.7 kB / 0.9251 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.7862, allocations: 483.2 kB / 0.9255 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.7864, allocations: 169.5 kB / 0.9257 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.7866, allocations: 122.2 kB / 0.9258 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7867, allocations: 322 kB / 0.9261 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/0.7872, allocations: 253.2 kB / 0.9264 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.7877, allocations: 380.6 kB / 0.9267 GB, free: 10.15 MB / 0.6387 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.003641/0.7913, allocations: 1.549 MB / 0.9282 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7914, allocations: 3.938 kB / 0.9282 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001321/0.7927, allocations: 0.8003 MB / 0.929 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.7927, allocations: 4 kB / 0.929 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.7927, allocations: 4.047 kB / 0.929 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.7929, allocations: 65.67 kB / 0.9291 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.7936, allocations: 147.8 kB / 0.9292 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.796, allocations: 2.901 MB / 0.9321 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.797, allocations: 64.56 kB / 0.9321 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.797, allocations: 24.12 kB / 0.9322 GB, free: 4.254 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005716/0.7976, allocations: 298.3 kB / 0.9324 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.7978, allocations: 98.95 kB / 0.9325 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.798, allocations: 96.73 kB / 0.9326 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.798, allocations: 11.98 kB / 0.9326 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.798, allocations: 3.938 kB / 0.9326 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/0.799, allocations: 0.8348 MB / 0.9335 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/0.8019, allocations: 1.788 MB / 0.9352 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.8019, allocations: 7.938 kB / 0.9352 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.8025, allocations: 123.9 kB / 0.9353 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.8026, allocations: 40.83 kB / 0.9354 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.8027, allocations: 16.38 kB / 0.9354 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.8039, allocations: 1.476 MB / 0.9368 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.8039, allocations: 7.938 kB / 0.9368 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.8055, allocations: 1.068 MB / 0.9379 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.8059, allocations: 239.9 kB / 0.9381 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.806, allocations: 16.2 kB / 0.9381 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.8071, allocations: 55.86 kB / 0.9382 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.8072, allocations: 55.8 kB / 0.9382 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.8073, allocations: 27.98 kB / 0.9382 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008006/0.8081, allocations: 0.5576 MB / 0.9388 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8081, allocations: 0 / 0.9388 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009904/0.8091, allocations: 276 kB / 0.9391 GB, free: 12.77 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (47): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004785/0.8096, allocations: 199.8 kB / 0.9392 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.8109, allocations: 0.8004 MB / 0.94 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8109, allocations: 0 / 0.94 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005751/0.8115, allocations: 411.8 kB / 0.9404 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.814, allocations: 0.5772 MB / 0.941 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.817, allocations: 2.18 MB / 0.9431 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.8176, allocations: 1.084 MB / 0.9442 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000868/0.8185, allocations: 215.7 kB / 0.9444 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.8187, allocations: 71.38 kB / 0.9444 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of SimCode: time 8.92e-07/0.8187, allocations: 0 / 0.9444 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of Templates: time 0.03094/0.8497, allocations: 19.08 MB / 0.9631 GB, free: 4.336 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)