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.005365/0.005365, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001526/0.001526, allocations: 196.7 kB / 16.68 MB, free: 6.352 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002456/0.002456, allocations: 282.9 kB / 290.8 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9642/0.9642, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002552/0.002552, allocations: 93.14 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1528, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.3189/0.4718, allocations: 49.77 MB / 0.8145 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01907/0.4909, allocations: 12.67 MB / 0.8269 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.4932, allocations: 78.97 kB / 0.827 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.495, allocations: 0.7508 MB / 0.8277 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00438/0.4994, allocations: 1.832 MB / 0.8295 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.5027, allocations: 1.357 MB / 0.8308 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003908/0.5066, allocations: 3.252 MB / 0.834 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.5081, allocations: 1.256 MB / 0.8352 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.5109, allocations: 1.31 MB / 0.8365 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.512, allocations: 0.9381 MB / 0.8374 GB, free: 480 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.5122, allocations: 95.66 kB / 0.8375 GB, free: 480 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.5145, allocations: 1.073 MB / 0.8385 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.5148, allocations: 286.6 kB / 0.8388 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006578/0.5155, allocations: 0.6734 MB / 0.8395 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.518, allocations: 1.98 MB / 0.8414 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5181, allocations: 0 / 0.8414 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5181, allocations: 0 / 0.8414 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.5181, allocations: 1.094 kB / 0.8414 GB, free: 13.96 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.002415/0.5205, allocations: 1.759 MB / 0.8431 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.5206, allocations: 9.75 kB / 0.8431 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.5207, allocations: 136.3 kB / 0.8433 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/0.5213, allocations: 212.1 kB / 0.8435 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.5232, allocations: 1.1 MB / 0.8445 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/0.5232, allocations: 65.47 kB / 0.8446 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.5234, allocations: 83.47 kB / 0.8447 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.525, allocations: 1.008 MB / 0.8457 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.525, allocations: 1.375 kB / 0.8457 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.102e-05/0.5251, allocations: 41.53 kB / 0.8457 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.5251, allocations: 22.19 kB / 0.8457 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.5265, allocations: 0.6487 MB / 0.8464 GB, free: 10.43 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.004982/0.5315, allocations: 4.73 MB / 0.851 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.5325, allocations: 397.2 kB / 0.8514 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.533, allocations: 213.2 kB / 0.8516 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009311/0.5339, allocations: 1.152 MB / 0.8527 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.534, allocations: 37.41 kB / 0.8527 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=29): time 1.943e-06/0.534, allocations: 3.938 kB / 0.8527 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29): time 0.002654/0.5366, allocations: 1.085 MB / 0.8538 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.5367, allocations: 58.84 kB / 0.8538 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.5378, allocations: 0.9748 MB / 0.8548 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.5379, allocations: 31.89 kB / 0.8548 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/0.5383, allocations: 0.5959 MB / 0.8554 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.5384, allocations: 117.3 kB / 0.8555 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.5386, allocations: 116.3 kB / 0.8556 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5388, allocations: 323.6 kB / 0.8559 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.5392, allocations: 194 kB / 0.8561 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/0.5399, allocations: 406.3 kB / 0.8565 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.541, allocations: 0.6092 MB / 0.8571 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5411, allocations: 2.469 kB / 0.8571 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001528/0.5426, allocations: 0.7657 MB / 0.8579 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5426, allocations: 6.875 kB / 0.8579 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.5426, allocations: 6.875 kB / 0.8579 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006308/0.5433, allocations: 157.8 kB / 0.858 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.5438, allocations: 146.2 kB / 0.8582 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.545, allocations: 1.72 MB / 0.8598 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006756/0.5457, allocations: 84.67 kB / 0.8599 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/0.5458, allocations: 36.52 kB / 0.86 GB, free: 14.89 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.0003603/0.5462, allocations: 268 kB / 0.8602 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.5463, allocations: 111.5 kB / 0.8603 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.548, allocations: 0.7267 MB / 0.861 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.548, allocations: 4.5 kB / 0.861 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.548, allocations: 3.938 kB / 0.861 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5481, allocations: 1.25 kB / 0.861 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.5508, allocations: 1.637 MB / 0.8626 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.5508, allocations: 1.562 kB / 0.8626 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.5512, allocations: 90.16 kB / 0.8627 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/0.5518, allocations: 151.3 kB / 0.8629 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.5518, allocations: 19.86 kB / 0.8629 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.5529, allocations: 1.705 MB / 0.8646 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5529, allocations: 6.406 kB / 0.8646 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.5544, allocations: 0.7793 MB / 0.8653 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/0.5547, allocations: 249.3 kB / 0.8656 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.936e-05/0.5548, allocations: 6.906 kB / 0.8656 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/0.5554, allocations: 50.78 kB / 0.8656 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.5555, allocations: 34.64 kB / 0.8657 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.5555, allocations: 22.58 kB / 0.8657 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007424/0.5563, allocations: 0.6595 MB / 0.8663 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5563, allocations: 4 kB / 0.8663 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001088/0.5574, allocations: 382.1 kB / 0.8667 GB, free: 9.969 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.002371/0.5598, allocations: 1.638 MB / 0.8683 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.5611, allocations: 0.5428 MB / 0.8688 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5611, allocations: 5.094 kB / 0.8688 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007476/0.5619, allocations: 301.9 kB / 0.8691 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.564, allocations: 0.5227 MB / 0.8696 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.5745, allocations: 7.333 MB / 0.8768 GB, free: 228 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/0.5752, allocations: 1.103 MB / 0.8779 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000582/0.5758, allocations: 191.3 kB / 0.878 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.5763, allocations: 419.3 kB / 0.8784 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.5763, allocations: 0 / 0.8784 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.139/4.716, allocations: 29.55 MB / 0.9073 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.01/23.73, allocations: 4 kB / 0.9073 GB, free: 1.473 MB / 0.6544 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)