Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 103.9 kB / 16.4 MB, free: 6.508 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.001291/0.001291, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 283.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9576/0.9576, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4701, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05121/0.5213, allocations: 49.76 MB / 0.8156 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02053/0.5419, allocations: 12.68 MB / 0.828 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.5449, allocations: 79.56 kB / 0.8281 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.5475, allocations: 0.7604 MB / 0.8288 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005594/0.5531, allocations: 1.823 MB / 0.8306 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.5569, allocations: 1.363 MB / 0.832 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004914/0.5618, allocations: 3.25 MB / 0.8351 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00218/0.564, allocations: 1.254 MB / 0.8364 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003507/0.5676, allocations: 1.319 MB / 0.8376 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.5694, allocations: 0.9448 MB / 0.8386 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.5697, allocations: 96 kB / 0.8387 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.5723, allocations: 1.06 MB / 0.8397 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004249/0.5727, allocations: 294.8 kB / 0.84 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.5738, allocations: 0.6684 MB / 0.8406 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003528/0.5773, allocations: 1.977 MB / 0.8426 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.5774, allocations: 4 kB / 0.8426 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.278e-06/0.5774, allocations: 0 / 0.8426 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.771e-05/0.5774, allocations: 3.938 kB / 0.8426 GB, free: 6.355 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002524/0.5799, allocations: 1.699 MB / 0.8442 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.58, allocations: 8.031 kB / 0.8442 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000592/0.5806, allocations: 211.1 kB / 0.8444 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.5824, allocations: 1.092 MB / 0.8455 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.5825, allocations: 70.31 kB / 0.8456 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.5826, allocations: 87.94 kB / 0.8456 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.5843, allocations: 1.003 MB / 0.8466 GB, free: 2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.5843, allocations: 0 / 0.8466 GB, free: 2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.5844, allocations: 40 kB / 0.8467 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.5844, allocations: 20 kB / 0.8467 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.5858, allocations: 0.6516 MB / 0.8473 GB, free: 1.289 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.004903/0.5908, allocations: 4.723 MB / 0.8519 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.5919, allocations: 397.4 kB / 0.8523 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.5924, allocations: 216.7 kB / 0.8525 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008642/0.5933, allocations: 1.148 MB / 0.8536 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.5933, allocations: 34.56 kB / 0.8537 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/0.5934, allocations: 0 / 0.8537 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29): time 0.002801/0.5962, allocations: 1.085 MB / 0.8547 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.5962, allocations: 59.34 kB / 0.8548 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.5974, allocations: 0.9753 MB / 0.8557 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.5974, allocations: 29.7 kB / 0.8558 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.5978, allocations: 0.5851 MB / 0.8563 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.5979, allocations: 110.5 kB / 0.8564 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.5981, allocations: 114 kB / 0.8566 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5982, allocations: 322 kB / 0.8569 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/0.5988, allocations: 201 kB / 0.8571 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000726/0.5995, allocations: 406.8 kB / 0.8574 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.6007, allocations: 0.6076 MB / 0.858 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.6007, allocations: 0 / 0.858 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001591/0.6023, allocations: 0.7603 MB / 0.8588 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6023, allocations: 11.94 kB / 0.8588 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.6023, allocations: 4 kB / 0.8588 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006763/0.603, allocations: 158.8 kB / 0.8589 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.6036, allocations: 151.7 kB / 0.8591 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.6048, allocations: 1.716 MB / 0.8608 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/0.6054, allocations: 87.52 kB / 0.8608 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.6055, allocations: 32 kB / 0.8609 GB, free: 2.461 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004059/0.6059, allocations: 265.1 kB / 0.8611 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.6061, allocations: 110.6 kB / 0.8612 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.6078, allocations: 0.7188 MB / 0.8619 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.6079, allocations: 4 kB / 0.8619 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.6079, allocations: 3.938 kB / 0.8619 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.6079, allocations: 0 / 0.8619 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/0.6106, allocations: 1.64 MB / 0.8635 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.6107, allocations: 8.031 kB / 0.8636 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004604/0.6111, allocations: 83.84 kB / 0.8636 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005611/0.6117, allocations: 154.6 kB / 0.8638 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.6117, allocations: 11.94 kB / 0.8638 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.6129, allocations: 1.716 MB / 0.8655 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.6129, allocations: 0 / 0.8655 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.6144, allocations: 0.7729 MB / 0.8662 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.6148, allocations: 251.6 kB / 0.8665 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.6149, allocations: 8 kB / 0.8665 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006/0.6156, allocations: 43.94 kB / 0.8665 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.6156, allocations: 31.84 kB / 0.8665 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.6157, allocations: 27.97 kB / 0.8666 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001129/0.6168, allocations: 0.658 MB / 0.8672 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6168, allocations: 0 / 0.8672 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00105/0.6179, allocations: 375.1 kB / 0.8676 GB, free: 11.35 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008829/0.6188, allocations: 417.5 kB / 0.868 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.6204, allocations: 0.5443 MB / 0.8685 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6205, allocations: 4 kB / 0.8685 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008049/0.6213, allocations: 295.8 kB / 0.8688 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/0.6236, allocations: 0.5151 MB / 0.8693 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.6268, allocations: 1.846 MB / 0.8711 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/0.6276, allocations: 1.099 MB / 0.8722 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.6278, allocations: 67.42 kB / 0.8722 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of SimCode: time 3.81e-07/0.6278, allocations: 0 / 0.8722 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of Templates: time 0.03685/0.6647, allocations: 32.26 MB / 0.9037 GB, free: 6.426 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)