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.001016/0.001016, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001306/0.001306, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001769/0.001769, allocations: 266.6 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.943/0.943, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003991, allocations: 18.94 kB / 0.598 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1361, allocations: 88.53 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04251/0.1786, allocations: 45.75 MB / 0.7291 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.1944, allocations: 11.93 MB / 0.7408 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.1962, allocations: 71.5 kB / 0.7409 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.1976, allocations: 0.551 MB / 0.7414 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.201, allocations: 1.452 MB / 0.7428 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.2037, allocations: 1.038 MB / 0.7438 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003987/0.2077, allocations: 3.749 MB / 0.7475 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.209, allocations: 0.9174 MB / 0.7484 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.2106, allocations: 1.034 MB / 0.7494 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.2116, allocations: 0.8279 MB / 0.7502 GB, free: 12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.2118, allocations: 40 kB / 0.7503 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.2134, allocations: 0.7444 MB / 0.751 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.2136, allocations: 203 kB / 0.7512 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.2139, allocations: 280.9 kB / 0.7514 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.2153, allocations: 1.383 MB / 0.7528 GB, free: 9.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2154, allocations: 0 / 0.7528 GB, free: 9.352 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2154, allocations: 0 / 0.7528 GB, free: 9.352 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.2154, allocations: 4 kB / 0.7528 GB, free: 9.348 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.002095/0.2175, allocations: 1.487 MB / 0.7542 GB, free: 7.809 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2175, allocations: 11.97 kB / 0.7543 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005411/0.2181, allocations: 222.1 kB / 0.7545 GB, free: 7.578 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.2199, allocations: 1.053 MB / 0.7555 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003298/0.2202, allocations: 125.9 kB / 0.7556 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-05/0.2203, allocations: 88 kB / 0.7557 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.222, allocations: 0.9962 MB / 0.7567 GB, free: 5.195 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.222, allocations: 15.89 kB / 0.7567 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.152e-05/0.2221, allocations: 32 kB / 0.7567 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.2222, allocations: 24 kB / 0.7567 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.2236, allocations: 0.6829 MB / 0.7574 GB, free: 4.438 MB / 0.545 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.004729/0.2284, allocations: 4.438 MB / 0.7617 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.2295, allocations: 438.6 kB / 0.7622 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005334/0.23, allocations: 236.7 kB / 0.7624 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008719/0.2309, allocations: 1.148 MB / 0.7635 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.231, allocations: 42.5 kB / 0.7635 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.231, allocations: 0 / 0.7635 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002693/0.2337, allocations: 1.14 MB / 0.7647 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.2337, allocations: 59.34 kB / 0.7647 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.2348, allocations: 0.9317 MB / 0.7656 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.2348, allocations: 33.64 kB / 0.7657 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.2352, allocations: 0.5851 MB / 0.7662 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.679e-05/0.2353, allocations: 102.6 kB / 0.7663 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.2354, allocations: 8 kB / 0.7663 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2355, allocations: 322 kB / 0.7666 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.236, allocations: 213 kB / 0.7668 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006444/0.2367, allocations: 403.5 kB / 0.7672 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.2372, allocations: 249.3 kB / 0.7675 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2373, allocations: 0 / 0.7675 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00153/0.2388, allocations: 0.7799 MB / 0.7682 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2388, allocations: 8 kB / 0.7682 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.2388, allocations: 7.984 kB / 0.7682 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006278/0.2395, allocations: 150.6 kB / 0.7684 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/0.2401, allocations: 163.8 kB / 0.7685 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009944/0.2411, allocations: 1.72 MB / 0.7702 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.2417, allocations: 119.5 kB / 0.7703 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.2418, allocations: 28 kB / 0.7704 GB, free: 6.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003569/0.2422, allocations: 261.7 kB / 0.7706 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.2423, allocations: 110.7 kB / 0.7707 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.2441, allocations: 0.7729 MB / 0.7715 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.2441, allocations: 4 kB / 0.7715 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2441, allocations: 0 / 0.7715 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2441, allocations: 4 kB / 0.7715 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.2468, allocations: 1.675 MB / 0.7731 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2468, allocations: 0 / 0.7731 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.2473, allocations: 116 kB / 0.7732 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005182/0.2478, allocations: 142.5 kB / 0.7734 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.2479, allocations: 15.98 kB / 0.7734 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009416/0.2488, allocations: 1.708 MB / 0.7751 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.2489, allocations: 4.031 kB / 0.7751 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.2503, allocations: 0.8191 MB / 0.7759 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.2506, allocations: 239.6 kB / 0.7761 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.2508, allocations: 15.98 kB / 0.7761 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006299/0.2514, allocations: 91.75 kB / 0.7762 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.2515, allocations: 27.97 kB / 0.7762 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.2515, allocations: 23.97 kB / 0.7762 GB, free: 80 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2657/0.5172, allocations: 0.615 MB / 0.7768 GB, free: 93.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5172, allocations: 0.5625 kB / 0.7768 GB, free: 93.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001179/0.5184, allocations: 361.3 kB / 0.7772 GB, free: 93.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 2,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000682/0.5191, allocations: 355.9 kB / 0.7775 GB, free: 93.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.5207, allocations: 0.5775 MB / 0.7781 GB, free: 93.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5207, allocations: 4.609 kB / 0.7781 GB, free: 93.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000815/0.5215, allocations: 311.8 kB / 0.7784 GB, free: 93.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.5238, allocations: 0.4992 MB / 0.7789 GB, free: 93.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.5267, allocations: 2.212 MB / 0.781 GB, free: 92.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.5273, allocations: 1.104 MB / 0.7821 GB, free: 91.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006937/0.528, allocations: 182.7 kB / 0.7823 GB, free: 91.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.5282, allocations: 66.39 kB / 0.7823 GB, free: 91.53 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5282, allocations: 0 / 0.7823 GB, free: 91.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.02917/0.5574, allocations: 18.59 MB / 0.8005 GB, free: 85.62 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)