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.004628/0.004628, allocations: 102.7 kB / 15.73 MB, free: 6.051 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.00101/0.00101, allocations: 199.5 kB / 16.68 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002263/0.002263, allocations: 287 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9607/0.9607, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 95.86 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1712, allocations: 86.98 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.4042/0.5754, allocations: 49.76 MB / 0.815 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02183/0.5973, allocations: 12.67 MB / 0.8274 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003668/0.601, allocations: 79.44 kB / 0.8274 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.6038, allocations: 0.7589 MB / 0.8282 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007279/0.6111, allocations: 1.827 MB / 0.83 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004777/0.6159, allocations: 1.359 MB / 0.8313 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005879/0.6218, allocations: 3.262 MB / 0.8345 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.624, allocations: 1.263 MB / 0.8357 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003766/0.6278, allocations: 1.31 MB / 0.837 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.6296, allocations: 0.9297 MB / 0.8379 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003491/0.63, allocations: 96.88 kB / 0.838 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003061/0.6331, allocations: 1.068 MB / 0.839 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004936/0.6336, allocations: 294 kB / 0.8393 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.635, allocations: 0.6735 MB / 0.84 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003949/0.6389, allocations: 1.967 MB / 0.8419 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.6389, allocations: 7.984 kB / 0.8419 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.639, allocations: 0 / 0.8419 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.639, allocations: 0.9375 kB / 0.8419 GB, free: 14.04 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.002518/0.6415, allocations: 1.698 MB / 0.8436 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.6415, allocations: 9.219 kB / 0.8436 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006099/0.6422, allocations: 206.9 kB / 0.8438 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.6441, allocations: 1.098 MB / 0.8448 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/0.6442, allocations: 69.75 kB / 0.8449 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.6443, allocations: 87.94 kB / 0.845 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.646, allocations: 1.012 MB / 0.846 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.646, allocations: 2.625 kB / 0.846 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.197e-05/0.6461, allocations: 36.97 kB / 0.846 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.6461, allocations: 22.09 kB / 0.846 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.6476, allocations: 0.6522 MB / 0.8467 GB, free: 10.68 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.004878/0.6524, allocations: 4.709 MB / 0.8513 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.6535, allocations: 402 kB / 0.8517 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.654, allocations: 224.6 kB / 0.8519 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008492/0.6549, allocations: 1.141 MB / 0.853 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.6549, allocations: 36.69 kB / 0.853 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.6549, allocations: 0.875 kB / 0.853 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29): time 0.002715/0.6577, allocations: 1.084 MB / 0.8541 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.6577, allocations: 54 kB / 0.8541 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.6589, allocations: 0.9787 MB / 0.8551 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.6589, allocations: 33.33 kB / 0.8551 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/0.6594, allocations: 0.5899 MB / 0.8557 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.6595, allocations: 105.2 kB / 0.8558 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.6596, allocations: 112.8 kB / 0.8559 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.6597, allocations: 322.6 kB / 0.8562 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005024/0.6602, allocations: 203 kB / 0.8564 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/0.661, allocations: 405.9 kB / 0.8568 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.6621, allocations: 0.6009 MB / 0.8574 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.6621, allocations: 2.094 kB / 0.8574 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001564/0.6637, allocations: 0.7571 MB / 0.8581 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6637, allocations: 7.25 kB / 0.8581 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.6637, allocations: 6.969 kB / 0.8581 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/0.6643, allocations: 158.8 kB / 0.8583 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.6649, allocations: 145.3 kB / 0.8584 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.666, allocations: 1.715 MB / 0.8601 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/0.6668, allocations: 89.39 kB / 0.8602 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.962e-05/0.6669, allocations: 32.55 kB / 0.8602 GB, free: 15.19 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.0004763/0.6674, allocations: 267.5 kB / 0.8605 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.6675, allocations: 114.5 kB / 0.8606 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.6693, allocations: 0.721 MB / 0.8613 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.6693, allocations: 3.688 kB / 0.8613 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6693, allocations: 5.406 kB / 0.8613 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.6693, allocations: 7.969 kB / 0.8613 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/0.6721, allocations: 1.637 MB / 0.8629 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.6721, allocations: 5.219 kB / 0.8629 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004478/0.6726, allocations: 82.97 kB / 0.863 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/0.6731, allocations: 150.1 kB / 0.8631 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.6732, allocations: 16.91 kB / 0.8631 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009836/0.6742, allocations: 1.706 MB / 0.8648 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6742, allocations: 2.656 kB / 0.8648 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.6757, allocations: 0.7757 MB / 0.8656 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/0.6761, allocations: 253.6 kB / 0.8658 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.6762, allocations: 8.844 kB / 0.8658 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/0.6767, allocations: 40.89 kB / 0.8658 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.729e-05/0.6768, allocations: 37.16 kB / 0.8659 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.6769, allocations: 25.52 kB / 0.8659 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008614/0.6778, allocations: 0.6592 MB / 0.8666 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6778, allocations: 0 / 0.8666 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00168/0.6795, allocations: 374 kB / 0.8669 GB, free: 10.29 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.001213/0.6807, allocations: 416.7 kB / 0.8673 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.6825, allocations: 0.5459 MB / 0.8678 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6825, allocations: 0.875 kB / 0.8678 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.6834, allocations: 294.3 kB / 0.8681 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/0.6862, allocations: 0.5261 MB / 0.8686 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.6893, allocations: 1.815 MB / 0.8704 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.6899, allocations: 1.107 MB / 0.8715 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006529/0.6906, allocations: 192.4 kB / 0.8717 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.6907, allocations: 67.42 kB / 0.8717 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.6907, allocations: 4 kB / 0.8717 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of Templates: time 0.03292/0.7237, allocations: 21.16 MB / 0.8924 GB, free: 1.164 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)