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.005514/0.005514, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001295/0.001295, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 289 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8917/0.8917, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 99.81 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4222, allocations: 86.98 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04445/0.4667, allocations: 49.76 MB / 0.8145 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01798/0.4847, allocations: 12.67 MB / 0.8269 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003109/0.4879, allocations: 83.56 kB / 0.827 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.4899, allocations: 0.7565 MB / 0.8277 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004536/0.4944, allocations: 1.834 MB / 0.8295 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.4975, allocations: 1.357 MB / 0.8308 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003542/0.5011, allocations: 3.25 MB / 0.834 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.5024, allocations: 1.25 MB / 0.8352 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.5049, allocations: 1.327 MB / 0.8365 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009603/0.5059, allocations: 0.937 MB / 0.8374 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.506, allocations: 96 kB / 0.8375 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.508, allocations: 1.068 MB / 0.8386 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.5082, allocations: 294.8 kB / 0.8388 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005668/0.5088, allocations: 0.6684 MB / 0.8395 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.511, allocations: 1.974 MB / 0.8414 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.511, allocations: 0 / 0.8414 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.511, allocations: 7.938 kB / 0.8414 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.083e-05/0.5111, allocations: 4 kB / 0.8414 GB, free: 6.27 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.002248/0.5133, allocations: 1.701 MB / 0.8431 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.5134, allocations: 8.031 kB / 0.8431 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.5135, allocations: 135.4 kB / 0.8432 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005645/0.5141, allocations: 207.1 kB / 0.8434 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.5158, allocations: 1.092 MB / 0.8445 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.5158, allocations: 70.12 kB / 0.8446 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/0.5159, allocations: 84 kB / 0.8446 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.5175, allocations: 1.003 MB / 0.8456 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.5175, allocations: 4 kB / 0.8456 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/0.5176, allocations: 32 kB / 0.8456 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.5176, allocations: 20 kB / 0.8457 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.5189, allocations: 0.6594 MB / 0.8463 GB, free: 1.062 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.004482/0.5234, allocations: 4.712 MB / 0.8509 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.5244, allocations: 398.5 kB / 0.8513 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.5248, allocations: 216.7 kB / 0.8515 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008273/0.5257, allocations: 1.148 MB / 0.8526 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.5257, allocations: 38.56 kB / 0.8527 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=29): time 1.833e-06/0.5257, allocations: 0 / 0.8527 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29): time 0.002544/0.5283, allocations: 1.078 MB / 0.8537 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.5283, allocations: 63.28 kB / 0.8538 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.5294, allocations: 0.9754 MB / 0.8547 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.5294, allocations: 29.7 kB / 0.8548 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/0.5298, allocations: 0.5851 MB / 0.8553 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.926e-05/0.5299, allocations: 110.5 kB / 0.8554 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.5301, allocations: 114 kB / 0.8555 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5302, allocations: 322 kB / 0.8558 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/0.5307, allocations: 201 kB / 0.856 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.5313, allocations: 410.3 kB / 0.8564 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5324, allocations: 0.6037 MB / 0.857 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.5324, allocations: 7.938 kB / 0.857 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001436/0.5338, allocations: 0.7521 MB / 0.8578 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.5339, allocations: 11.94 kB / 0.8578 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5339, allocations: 4 kB / 0.8578 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006315/0.5345, allocations: 163.1 kB / 0.8579 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.5351, allocations: 151.8 kB / 0.8581 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.5361, allocations: 1.716 MB / 0.8598 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.5367, allocations: 83.33 kB / 0.8598 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.5367, allocations: 28 kB / 0.8599 GB, free: 2.242 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.0003542/0.5371, allocations: 273 kB / 0.8601 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.5373, allocations: 114.5 kB / 0.8602 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.5389, allocations: 0.7137 MB / 0.8609 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.5389, allocations: 11.94 kB / 0.8609 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5389, allocations: 4.125 kB / 0.8609 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.5389, allocations: 0 / 0.8609 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.5414, allocations: 1.632 MB / 0.8625 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5414, allocations: 0 / 0.8625 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.5418, allocations: 83.84 kB / 0.8626 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/0.5424, allocations: 154.6 kB / 0.8628 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.5424, allocations: 12 kB / 0.8628 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009176/0.5433, allocations: 1.712 MB / 0.8644 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5433, allocations: 4.031 kB / 0.8644 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.5447, allocations: 0.7768 MB / 0.8652 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.5451, allocations: 243.6 kB / 0.8654 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.5452, allocations: 8 kB / 0.8654 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/0.5457, allocations: 51.94 kB / 0.8655 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.5458, allocations: 35.84 kB / 0.8655 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.5458, allocations: 19.97 kB / 0.8655 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007768/0.5466, allocations: 0.6541 MB / 0.8662 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5466, allocations: 0 / 0.8662 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009477/0.5476, allocations: 379.1 kB / 0.8665 GB, free: 11.13 MB / 0.6387 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.002368/0.55, allocations: 1.634 MB / 0.8681 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.5514, allocations: 0.5555 MB / 0.8687 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5514, allocations: 0 / 0.8687 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007241/0.5521, allocations: 292 kB / 0.869 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.5542, allocations: 0.5334 MB / 0.8695 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.5651, allocations: 7.293 MB / 0.8766 GB, free: 476 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/0.5658, allocations: 1.107 MB / 0.8777 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007055/0.5665, allocations: 187.9 kB / 0.8779 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/0.567, allocations: 419.3 kB / 0.8783 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of SimCode: time 7.02e-07/0.567, allocations: 0 / 0.8783 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05595/0.623, allocations: 30.02 MB / 0.9076 GB, free: 1.246 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.73, allocations: 10.28 kB / 0.9076 GB, free: 1.238 MB / 0.67 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)