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.001097/0.001097, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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: 194.4 kB / 16.25 MB, free: 6.617 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 274.8 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9855/0.9855, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 95.2 kB / 0.5947 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1775, allocations: 86.98 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04528/0.2228, allocations: 49.33 MB / 0.7278 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01904/0.2419, allocations: 12.59 MB / 0.7401 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003363/0.2453, allocations: 75.5 kB / 0.7402 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.2478, allocations: 0.6448 MB / 0.7408 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005751/0.2536, allocations: 1.706 MB / 0.7425 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003757/0.2574, allocations: 1.233 MB / 0.7437 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004663/0.262, allocations: 3.276 MB / 0.7469 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.2639, allocations: 1.231 MB / 0.7481 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.2677, allocations: 1.31 MB / 0.7493 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.2697, allocations: 0.9641 MB / 0.7503 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002362/0.27, allocations: 100 kB / 0.7504 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.2725, allocations: 1.08 MB / 0.7514 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.2728, allocations: 286.8 kB / 0.7517 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008364/0.2736, allocations: 0.6723 MB / 0.7524 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.2764, allocations: 1.967 MB / 0.7543 GB, free: 4.359 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2765, allocations: 0 / 0.7543 GB, free: 4.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2765, allocations: 0 / 0.7543 GB, free: 4.359 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.2765, allocations: 3.938 kB / 0.7543 GB, free: 4.355 MB / 0.545 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.002509/0.279, allocations: 1.693 MB / 0.7559 GB, free: 2.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.2791, allocations: 16.03 kB / 0.756 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006166/0.2797, allocations: 203.1 kB / 0.7562 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.2815, allocations: 1.092 MB / 0.7572 GB, free: 1.246 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004111/0.2819, allocations: 130.2 kB / 0.7573 GB, free: 1.117 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.282, allocations: 84 kB / 0.7574 GB, free: 1.035 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.2837, allocations: 0.9883 MB / 0.7584 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.2838, allocations: 7.938 kB / 0.7584 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-05/0.2839, allocations: 36 kB / 0.7584 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.2839, allocations: 24 kB / 0.7585 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.2853, allocations: 0.6517 MB / 0.7591 GB, free: 15.26 MB / 0.5606 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.005083/0.2904, allocations: 4.409 MB / 0.7634 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.2917, allocations: 418.5 kB / 0.7638 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/0.2922, allocations: 228.7 kB / 0.764 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008686/0.2931, allocations: 1.14 MB / 0.7651 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.2932, allocations: 42.55 kB / 0.7652 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.184e-06/0.2932, allocations: 4 kB / 0.7652 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002935/0.2961, allocations: 1.09 MB / 0.7662 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.2962, allocations: 55.34 kB / 0.7663 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.2973, allocations: 0.9318 MB / 0.7672 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.2974, allocations: 33.7 kB / 0.7672 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000445/0.2978, allocations: 0.5851 MB / 0.7678 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.298, allocations: 102.6 kB / 0.7679 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.2981, allocations: 110 kB / 0.768 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2983, allocations: 322 kB / 0.7683 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.2988, allocations: 197 kB / 0.7685 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000694/0.2995, allocations: 391.4 kB / 0.7689 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.3007, allocations: 0.5688 MB / 0.7694 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3007, allocations: 0 / 0.7694 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001647/0.3023, allocations: 0.7326 MB / 0.7701 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3024, allocations: 4 kB / 0.7701 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/0.3024, allocations: 12.7 kB / 0.7702 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000719/0.3031, allocations: 154.4 kB / 0.7703 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.3038, allocations: 147.8 kB / 0.7704 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.3049, allocations: 1.712 MB / 0.7721 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/0.3057, allocations: 107.4 kB / 0.7722 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.3058, allocations: 31.98 kB / 0.7723 GB, free: 0.875 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.0004845/0.3063, allocations: 266.4 kB / 0.7725 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.3065, allocations: 118.6 kB / 0.7726 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3224/0.629, allocations: 0.7202 MB / 0.7733 GB, free: 95.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.629, allocations: 9.516 kB / 0.7733 GB, free: 95.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.6291, allocations: 1.156 kB / 0.7733 GB, free: 95.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.6291, allocations: 3.875 kB / 0.7733 GB, free: 95.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/0.6325, allocations: 1.643 MB / 0.7749 GB, free: 95.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6326, allocations: 2.031 kB / 0.7749 GB, free: 95.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.6331, allocations: 92.81 kB / 0.775 GB, free: 95.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005549/0.6336, allocations: 146.6 kB / 0.7752 GB, free: 95.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.6337, allocations: 10.98 kB / 0.7752 GB, free: 95.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007456/0.6344, allocations: 1.711 MB / 0.7769 GB, free: 93.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.6344, allocations: 2.234 kB / 0.7769 GB, free: 93.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.6361, allocations: 0.7915 MB / 0.7776 GB, free: 93.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.6365, allocations: 247.6 kB / 0.7779 GB, free: 93.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.6366, allocations: 12.23 kB / 0.7779 GB, free: 93.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000651/0.6373, allocations: 70.05 kB / 0.7779 GB, free: 93.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.6374, allocations: 30.67 kB / 0.778 GB, free: 93.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.6374, allocations: 22.14 kB / 0.778 GB, free: 93.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009269/0.6384, allocations: 0.6308 MB / 0.7786 GB, free: 92.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6384, allocations: 0.9062 kB / 0.7786 GB, free: 92.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001045/0.6394, allocations: 362.4 kB / 0.779 GB, free: 92.96 MB / 0.5606 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.0008012/0.6402, allocations: 388.6 kB / 0.7793 GB, free: 92.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.6419, allocations: 0.5656 MB / 0.7799 GB, free: 92.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6419, allocations: 3.25 kB / 0.7799 GB, free: 92.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008183/0.6427, allocations: 297.3 kB / 0.7802 GB, free: 92.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.6451, allocations: 0.5286 MB / 0.7807 GB, free: 92.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.6486, allocations: 2.274 MB / 0.7829 GB, free: 91.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.6492, allocations: 1.108 MB / 0.784 GB, free: 90.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007599/0.65, allocations: 177.5 kB / 0.7842 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.6501, allocations: 68.5 kB / 0.7842 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.6501, allocations: 0 / 0.7842 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.03953/0.6897, allocations: 19.86 MB / 0.8036 GB, free: 83.23 MB / 0.5606 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)