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: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001278, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.212/1.212, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 278.7 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8638/0.8638, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 98.86 kB / 0.5953 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1283, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0422/0.1705, allocations: 49.75 MB / 0.7289 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.1867, allocations: 12.68 MB / 0.7412 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.1886, allocations: 79.5 kB / 0.7413 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.1903, allocations: 0.7604 MB / 0.7421 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003854/0.1941, allocations: 1.841 MB / 0.7439 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.1969, allocations: 1.338 MB / 0.7452 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003236/0.2001, allocations: 3.249 MB / 0.7483 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.2017, allocations: 1.25 MB / 0.7496 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.2042, allocations: 1.286 MB / 0.7508 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.2054, allocations: 0.9369 MB / 0.7517 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.2056, allocations: 96 kB / 0.7518 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.2076, allocations: 1.064 MB / 0.7529 GB, free: 6.023 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.2078, allocations: 286.8 kB / 0.7531 GB, free: 5.742 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006051/0.2084, allocations: 0.6799 MB / 0.7538 GB, free: 5.059 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.2105, allocations: 1.932 MB / 0.7557 GB, free: 3.121 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2105, allocations: 0 / 0.7557 GB, free: 3.121 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2105, allocations: 0 / 0.7557 GB, free: 3.121 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.681e-05/0.2105, allocations: 0 / 0.7557 GB, free: 3.121 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.002098/0.2126, allocations: 1.709 MB / 0.7574 GB, free: 1.359 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2126, allocations: 12.03 kB / 0.7574 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.2128, allocations: 135.4 kB / 0.7575 GB, free: 1.207 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005249/0.2133, allocations: 207.1 kB / 0.7577 GB, free: 1.004 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.2148, allocations: 1.022 MB / 0.7587 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003416/0.2152, allocations: 130.1 kB / 0.7588 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.43e-05/0.2153, allocations: 80 kB / 0.7589 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.2167, allocations: 1.005 MB / 0.7599 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.2168, allocations: 11.94 kB / 0.7599 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.2168, allocations: 36 kB / 0.7599 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.2169, allocations: 24 kB / 0.7599 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.2182, allocations: 0.6594 MB / 0.7606 GB, free: 13.9 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.004226/0.2225, allocations: 4.771 MB / 0.7652 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.2236, allocations: 406.6 kB / 0.7656 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000517/0.2242, allocations: 220.7 kB / 0.7658 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007484/0.2249, allocations: 1.148 MB / 0.767 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.2249, allocations: 38.56 kB / 0.767 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.744e-06/0.225, allocations: 3.938 kB / 0.767 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002661/0.2276, allocations: 1.088 MB / 0.7681 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.2277, allocations: 63.41 kB / 0.7681 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/0.2286, allocations: 0.9754 MB / 0.7691 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.2287, allocations: 29.7 kB / 0.7691 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.229, allocations: 0.5889 MB / 0.7697 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.984e-05/0.2291, allocations: 110.5 kB / 0.7698 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.2293, allocations: 110.1 kB / 0.7699 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.2294, allocations: 326 kB / 0.7702 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005343/0.2299, allocations: 204.9 kB / 0.7704 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/0.2306, allocations: 415.3 kB / 0.7708 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.2317, allocations: 0.6189 MB / 0.7714 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.2317, allocations: 4 kB / 0.7714 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001536/0.2333, allocations: 0.7606 MB / 0.7722 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2333, allocations: 8 kB / 0.7722 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2333, allocations: 8 kB / 0.7722 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/0.2339, allocations: 166.5 kB / 0.7723 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/0.2345, allocations: 147.8 kB / 0.7725 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2061/0.4406, allocations: 1.711 MB / 0.7741 GB, free: 94.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000764/0.4414, allocations: 90.91 kB / 0.7742 GB, free: 94.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/0.4415, allocations: 31.86 kB / 0.7743 GB, free: 94.04 MB / 0.5606 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.0003778/0.4419, allocations: 266.3 kB / 0.7745 GB, free: 93.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.442, allocations: 109.9 kB / 0.7746 GB, free: 93.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.4438, allocations: 0.7432 MB / 0.7753 GB, free: 93.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4438, allocations: 5.109 kB / 0.7753 GB, free: 93.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4438, allocations: 0 / 0.7753 GB, free: 93.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.4438, allocations: 6.594 kB / 0.7754 GB, free: 93.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.4464, allocations: 1.637 MB / 0.7769 GB, free: 93.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4464, allocations: 4.938 kB / 0.777 GB, free: 93.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.4469, allocations: 92.61 kB / 0.777 GB, free: 93.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/0.4474, allocations: 148.2 kB / 0.7772 GB, free: 93.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.4474, allocations: 10.75 kB / 0.7772 GB, free: 93.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006349/0.4481, allocations: 1.713 MB / 0.7789 GB, free: 91.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4481, allocations: 4.25 kB / 0.7789 GB, free: 91.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.4495, allocations: 0.7887 MB / 0.7796 GB, free: 91.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.4498, allocations: 243.7 kB / 0.7799 GB, free: 91.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.4499, allocations: 7.062 kB / 0.7799 GB, free: 91.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/0.4504, allocations: 49.59 kB / 0.7799 GB, free: 91.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.4505, allocations: 33 kB / 0.78 GB, free: 91.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.4506, allocations: 25.75 kB / 0.78 GB, free: 91.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006849/0.4512, allocations: 0.6676 MB / 0.7806 GB, free: 90.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4512, allocations: 0 / 0.7806 GB, free: 90.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008749/0.4521, allocations: 375.4 kB / 0.781 GB, free: 90.93 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.002117/0.4543, allocations: 1.646 MB / 0.7826 GB, free: 89.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.4557, allocations: 0.5822 MB / 0.7832 GB, free: 89.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4557, allocations: 0.9688 kB / 0.7832 GB, free: 89.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007541/0.4565, allocations: 303.7 kB / 0.7835 GB, free: 89.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.4585, allocations: 0.5326 MB / 0.784 GB, free: 89.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008651/0.4672, allocations: 7.721 MB / 0.7915 GB, free: 85.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.4676, allocations: 1.107 MB / 0.7926 GB, free: 84.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006163/0.4683, allocations: 194.9 kB / 0.7928 GB, free: 84.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/0.4686, allocations: 415.1 kB / 0.7932 GB, free: 84.17 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.4686, allocations: 0 / 0.7932 GB, free: 84.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.272/6.741, allocations: 29.31 MB / 0.8218 GB, free: 68.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/18.83, allocations: 6.25 kB / 0.8218 GB, free: 68.01 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)