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.00795/0.00795, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.001373/0.001373, allocations: 193 kB / 16.67 MB, free: 5.934 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 283 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9305/0.9305, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 87.86 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1737, allocations: 86.97 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.3719/0.5456, allocations: 49.77 MB / 0.815 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01845/0.5641, allocations: 12.66 MB / 0.8274 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.5671, allocations: 82.56 kB / 0.8274 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.5693, allocations: 0.7601 MB / 0.8282 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005855/0.5752, allocations: 1.831 MB / 0.83 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004262/0.5795, allocations: 1.355 MB / 0.8313 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005383/0.5849, allocations: 3.264 MB / 0.8345 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.587, allocations: 1.255 MB / 0.8357 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003473/0.5905, allocations: 1.301 MB / 0.837 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.5922, allocations: 0.931 MB / 0.8379 GB, free: 308 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.5924, allocations: 95.47 kB / 0.838 GB, free: 308 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002807/0.5952, allocations: 1.069 MB / 0.839 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.5956, allocations: 294.1 kB / 0.8393 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009063/0.5965, allocations: 0.6733 MB / 0.84 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003445/0.5999, allocations: 1.985 MB / 0.8419 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6, allocations: 0 / 0.8419 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6, allocations: 0 / 0.8419 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.233e-05/0.6, allocations: 1.438 kB / 0.8419 GB, free: 13.78 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.002722/0.6027, allocations: 1.746 MB / 0.8436 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.6028, allocations: 13.52 kB / 0.8436 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006484/0.6034, allocations: 207.9 kB / 0.8438 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.6056, allocations: 1.113 MB / 0.8449 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.706e-05/0.6057, allocations: 64.88 kB / 0.845 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.6058, allocations: 88.53 kB / 0.845 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.6076, allocations: 1.003 MB / 0.846 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.6077, allocations: 5.344 kB / 0.846 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/0.6077, allocations: 38.09 kB / 0.8461 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.6078, allocations: 21.5 kB / 0.8461 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.6092, allocations: 0.6496 MB / 0.8467 GB, free: 10.36 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.00528/0.6145, allocations: 4.74 MB / 0.8513 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.6157, allocations: 390 kB / 0.8517 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000514/0.6162, allocations: 220 kB / 0.8519 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008527/0.6171, allocations: 1.149 MB / 0.8531 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.6171, allocations: 37 kB / 0.8531 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=29): time 2.104e-06/0.6171, allocations: 0 / 0.8531 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29): time 0.002876/0.62, allocations: 1.081 MB / 0.8541 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.6201, allocations: 54.91 kB / 0.8542 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.6213, allocations: 0.9822 MB / 0.8552 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.6214, allocations: 33.05 kB / 0.8552 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.6218, allocations: 0.5952 MB / 0.8558 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.622, allocations: 109.9 kB / 0.8559 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.6221, allocations: 108.2 kB / 0.856 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6223, allocations: 330.6 kB / 0.8563 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005337/0.6228, allocations: 194.6 kB / 0.8565 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006713/0.6235, allocations: 409.8 kB / 0.8569 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.6247, allocations: 0.6054 MB / 0.8575 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6247, allocations: 2.312 kB / 0.8575 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001702/0.6264, allocations: 0.7579 MB / 0.8582 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6264, allocations: 16.03 kB / 0.8582 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.6265, allocations: 5.844 kB / 0.8582 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006425/0.6271, allocations: 154.8 kB / 0.8584 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/0.6277, allocations: 149.5 kB / 0.8585 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.6288, allocations: 1.724 MB / 0.8602 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/0.6295, allocations: 85.33 kB / 0.8603 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.6296, allocations: 31.48 kB / 0.8603 GB, free: 14.83 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.0004052/0.63, allocations: 272.5 kB / 0.8606 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.6302, allocations: 115 kB / 0.8607 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.6319, allocations: 0.7254 MB / 0.8614 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.632, allocations: 8.422 kB / 0.8614 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.632, allocations: 3.938 kB / 0.8614 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.632, allocations: 1.312 kB / 0.8614 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.6348, allocations: 1.633 MB / 0.863 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6348, allocations: 1.469 kB / 0.863 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.6353, allocations: 93.48 kB / 0.8631 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005428/0.6358, allocations: 146.8 kB / 0.8632 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.6359, allocations: 16.86 kB / 0.8632 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.6369, allocations: 1.71 MB / 0.8649 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6369, allocations: 6.094 kB / 0.8649 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.6385, allocations: 0.7771 MB / 0.8657 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.6389, allocations: 251.6 kB / 0.8659 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.639, allocations: 6.5 kB / 0.8659 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.6396, allocations: 49.31 kB / 0.866 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/0.6397, allocations: 40.33 kB / 0.866 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.6398, allocations: 23.23 kB / 0.866 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008864/0.6407, allocations: 0.6581 MB / 0.8667 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6407, allocations: 0 / 0.8667 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001204/0.6419, allocations: 386 kB / 0.867 GB, free: 9.902 MB / 0.6231 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.001035/0.6429, allocations: 408.4 kB / 0.8674 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.6446, allocations: 0.554 MB / 0.868 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.6446, allocations: 0 / 0.868 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009017/0.6455, allocations: 291.5 kB / 0.8682 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.6481, allocations: 0.5266 MB / 0.8688 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.6514, allocations: 1.851 MB / 0.8706 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007034/0.6521, allocations: 1.103 MB / 0.8716 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006375/0.6528, allocations: 187.6 kB / 0.8718 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.6529, allocations: 71.42 kB / 0.8719 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.653, allocations: 0 / 0.8719 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of Templates: time 0.03169/0.6847, allocations: 20.81 MB / 0.8922 GB, free: 1.148 MB / 0.6387 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)