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.001143/0.001143, 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.001119/0.00112, allocations: 187.7 kB / 16.25 MB, free: 6.621 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.176/1.176, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001915/0.001915, allocations: 290.8 kB / 290.3 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9009/0.9009, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 98.78 kB / 0.5948 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1355, allocations: 86.97 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04339/0.1789, allocations: 49.33 MB / 0.7279 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.1954, allocations: 12.6 MB / 0.7402 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.1976, allocations: 71.56 kB / 0.7403 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.1994, allocations: 0.6486 MB / 0.7409 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004552/0.204, allocations: 1.714 MB / 0.7426 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.2071, allocations: 1.218 MB / 0.7438 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003483/0.2106, allocations: 3.284 MB / 0.747 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.2119, allocations: 1.227 MB / 0.7482 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.2144, allocations: 1.303 MB / 0.7495 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009267/0.2154, allocations: 0.9641 MB / 0.7504 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.2155, allocations: 103.9 kB / 0.7505 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.2173, allocations: 1.072 MB / 0.7515 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.2176, allocations: 286.8 kB / 0.7518 GB, free: 6.934 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000539/0.2181, allocations: 0.6762 MB / 0.7525 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.2201, allocations: 1.963 MB / 0.7544 GB, free: 4.285 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2201, allocations: 0 / 0.7544 GB, free: 4.285 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2201, allocations: 0 / 0.7544 GB, free: 4.285 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.2201, allocations: 4 kB / 0.7544 GB, free: 4.281 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.002213/0.2223, allocations: 1.701 MB / 0.7561 GB, free: 2.527 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2224, allocations: 8.031 kB / 0.7561 GB, free: 2.52 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.2225, allocations: 135.4 kB / 0.7562 GB, free: 2.379 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005562/0.2231, allocations: 207.1 kB / 0.7564 GB, free: 2.176 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.2248, allocations: 1.088 MB / 0.7575 GB, free: 1.031 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003512/0.2251, allocations: 126.1 kB / 0.7576 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.2252, allocations: 80 kB / 0.7576 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.2269, allocations: 0.9883 MB / 0.7586 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.2269, allocations: 7.938 kB / 0.7586 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.547e-05/0.227, allocations: 44 kB / 0.7587 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.227, allocations: 20 kB / 0.7587 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.2285, allocations: 0.6556 MB / 0.7593 GB, free: 15.04 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.004376/0.2329, allocations: 4.42 MB / 0.7636 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.234, allocations: 410.6 kB / 0.764 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/0.2346, allocations: 224.7 kB / 0.7642 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007531/0.2353, allocations: 1.152 MB / 0.7654 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2354, allocations: 34.56 kB / 0.7654 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.522e-06/0.2354, allocations: 4 kB / 0.7654 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002764/0.2381, allocations: 1.082 MB / 0.7665 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.2382, allocations: 55.41 kB / 0.7665 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009803/0.2392, allocations: 0.9395 MB / 0.7674 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.2392, allocations: 37.7 kB / 0.7675 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.2396, allocations: 0.5735 MB / 0.768 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.946e-05/0.2397, allocations: 106.5 kB / 0.7681 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.2398, allocations: 106 kB / 0.7682 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.24, allocations: 322 kB / 0.7685 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/0.2405, allocations: 200.9 kB / 0.7687 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.2412, allocations: 383.5 kB / 0.7691 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.2424, allocations: 0.5727 MB / 0.7697 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.2424, allocations: 4 kB / 0.7697 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001543/0.2439, allocations: 0.7254 MB / 0.7704 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.244, allocations: 15.94 kB / 0.7704 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.244, allocations: 8.047 kB / 0.7704 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00066/0.2447, allocations: 162.4 kB / 0.7705 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.2452, allocations: 139.8 kB / 0.7707 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.2463, allocations: 1.712 MB / 0.7723 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.247, allocations: 111.5 kB / 0.7725 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.247, allocations: 27.98 kB / 0.7725 GB, free: 0.6602 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.0003272/0.2474, allocations: 270.3 kB / 0.7727 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.2475, allocations: 110.7 kB / 0.7728 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.231/0.4785, allocations: 0.7353 MB / 0.7736 GB, free: 95.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.4786, allocations: 8.562 kB / 0.7736 GB, free: 95.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4786, allocations: 0.5 kB / 0.7736 GB, free: 95.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4786, allocations: 2.328 kB / 0.7736 GB, free: 95.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.4817, allocations: 1.636 MB / 0.7752 GB, free: 95.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.4817, allocations: 1.469 kB / 0.7752 GB, free: 95.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005082/0.4823, allocations: 92.19 kB / 0.7753 GB, free: 95.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005726/0.4828, allocations: 152.4 kB / 0.7754 GB, free: 95.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.4829, allocations: 10.89 kB / 0.7754 GB, free: 95.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007063/0.4836, allocations: 1.713 MB / 0.7771 GB, free: 93.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4836, allocations: 2.344 kB / 0.7771 GB, free: 93.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.4852, allocations: 0.7831 MB / 0.7779 GB, free: 93.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/0.4856, allocations: 245.9 kB / 0.7781 GB, free: 93.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.4857, allocations: 10.89 kB / 0.7781 GB, free: 93.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006688/0.4864, allocations: 76.81 kB / 0.7782 GB, free: 93.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.4865, allocations: 31.55 kB / 0.7782 GB, free: 93.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.4865, allocations: 22.17 kB / 0.7782 GB, free: 93.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007788/0.4873, allocations: 0.6298 MB / 0.7788 GB, free: 92.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.52e-07/0.4873, allocations: 0 / 0.7788 GB, free: 92.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009495/0.4883, allocations: 369.7 kB / 0.7792 GB, free: 92.89 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.002279/0.4906, allocations: 1.605 MB / 0.7808 GB, free: 91.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001617/0.4922, allocations: 0.5625 MB / 0.7813 GB, free: 91.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4922, allocations: 0.75 kB / 0.7813 GB, free: 91.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007866/0.493, allocations: 305 kB / 0.7816 GB, free: 91.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.4952, allocations: 0.5424 MB / 0.7821 GB, free: 91.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.5055, allocations: 7.932 MB / 0.7899 GB, free: 86.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.5061, allocations: 1.1 MB / 0.791 GB, free: 86.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007476/0.5069, allocations: 183.6 kB / 0.7911 GB, free: 86.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/0.5073, allocations: 420 kB / 0.7915 GB, free: 85.89 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.5073, allocations: 2.438 kB / 0.7915 GB, free: 85.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.972/2.479, allocations: 28.28 MB / 0.8191 GB, free: 71.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/2.48, allocations: 298.8 kB / 0.8194 GB, free: 70.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.37/5.85, allocations: 4 kB / 0.8194 GB, free: 70.86 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)