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.001263/0.001263, allocations: 108 kB / 15.61 MB, free: 152 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.001329/0.001329, allocations: 192.2 kB / 16.53 MB, free: 6.664 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002489/0.002489, allocations: 279 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.008/1.008, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 102.5 kB / 0.6065 GB, free: 24.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1554, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05132/0.2067, allocations: 49.75 MB / 0.7422 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01859/0.2254, allocations: 12.7 MB / 0.7546 GB, free: 5.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.2274, allocations: 75.56 kB / 0.7547 GB, free: 5.516 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.2295, allocations: 0.7526 MB / 0.7554 GB, free: 4.758 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004763/0.2343, allocations: 1.842 MB / 0.7572 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003441/0.2378, allocations: 1.339 MB / 0.7585 GB, free: 1.582 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.2653/0.5031, allocations: 3.243 MB / 0.7617 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/0.5052, allocations: 1.249 MB / 0.7629 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003215/0.5084, allocations: 1.291 MB / 0.7641 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.5099, allocations: 0.9323 MB / 0.7651 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.5101, allocations: 96.94 kB / 0.7651 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.5122, allocations: 1.065 MB / 0.7662 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.5125, allocations: 291.9 kB / 0.7665 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006812/0.5132, allocations: 0.6735 MB / 0.7671 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.5156, allocations: 1.922 MB / 0.769 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.5156, allocations: 0 / 0.769 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5156, allocations: 1.281 kB / 0.769 GB, free: 8.984 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.5157, allocations: 7.594 kB / 0.769 GB, free: 8.98 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.002643/0.5183, allocations: 1.703 MB / 0.7707 GB, free: 24.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.5184, allocations: 9.656 kB / 0.7707 GB, free: 24.11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.5185, allocations: 136.1 kB / 0.7708 GB, free: 24.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006092/0.5191, allocations: 206.6 kB / 0.771 GB, free: 23.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.5208, allocations: 1.029 MB / 0.772 GB, free: 23.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003636/0.5212, allocations: 115.8 kB / 0.7721 GB, free: 23.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.5213, allocations: 88.81 kB / 0.7722 GB, free: 23.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.523, allocations: 1.009 MB / 0.7732 GB, free: 23.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.523, allocations: 1.125 kB / 0.7732 GB, free: 23.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/0.5231, allocations: 39.16 kB / 0.7732 GB, free: 23.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.5231, allocations: 22.27 kB / 0.7733 GB, free: 23.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.5246, allocations: 0.657 MB / 0.7739 GB, free: 23.32 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.00494/0.5295, allocations: 4.766 MB / 0.7785 GB, free: 20.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.5307, allocations: 414.9 kB / 0.7789 GB, free: 20.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/0.5313, allocations: 223.1 kB / 0.7792 GB, free: 20.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.5323, allocations: 1.144 MB / 0.7803 GB, free: 18.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.5324, allocations: 40.98 kB / 0.7803 GB, free: 18.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.964e-06/0.5324, allocations: 0 / 0.7803 GB, free: 18.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.00297/0.5354, allocations: 1.095 MB / 0.7814 GB, free: 18.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.5354, allocations: 59.12 kB / 0.7814 GB, free: 18.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.5366, allocations: 0.9743 MB / 0.7824 GB, free: 18.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.5367, allocations: 36.36 kB / 0.7824 GB, free: 18.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.537, allocations: 0.5834 MB / 0.783 GB, free: 17.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.5371, allocations: 110.9 kB / 0.7831 GB, free: 17.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.5373, allocations: 109 kB / 0.7832 GB, free: 17.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5374, allocations: 331.1 kB / 0.7835 GB, free: 17.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005521/0.538, allocations: 202.1 kB / 0.7837 GB, free: 17.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006521/0.5386, allocations: 410.8 kB / 0.7841 GB, free: 17.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.5398, allocations: 0.6089 MB / 0.7847 GB, free: 17.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5398, allocations: 3.672 kB / 0.7847 GB, free: 17.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001645/0.5415, allocations: 0.7717 MB / 0.7855 GB, free: 16.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.5415, allocations: 7.844 kB / 0.7855 GB, free: 16.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5415, allocations: 9.953 kB / 0.7855 GB, free: 16.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000631/0.5422, allocations: 157.2 kB / 0.7856 GB, free: 16.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.5428, allocations: 157.6 kB / 0.7858 GB, free: 16.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.5439, allocations: 1.721 MB / 0.7875 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007611/0.5447, allocations: 87.69 kB / 0.7875 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/0.5448, allocations: 30.19 kB / 0.7876 GB, free: 15.33 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.000426/0.5452, allocations: 273.6 kB / 0.7878 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.5454, allocations: 106.9 kB / 0.7879 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.5472, allocations: 0.7334 MB / 0.7886 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.5472, allocations: 4.062 kB / 0.7886 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5472, allocations: 8.5 kB / 0.7887 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5472, allocations: 2.766 kB / 0.7887 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002866/0.5501, allocations: 1.645 MB / 0.7903 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.5501, allocations: 3.188 kB / 0.7903 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.5506, allocations: 93.3 kB / 0.7904 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005221/0.5511, allocations: 149.8 kB / 0.7905 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.5512, allocations: 12.34 kB / 0.7905 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.5524, allocations: 1.719 MB / 0.7922 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5524, allocations: 1.688 kB / 0.7922 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.5539, allocations: 0.785 MB / 0.793 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.5543, allocations: 247.4 kB / 0.7932 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.5544, allocations: 7.906 kB / 0.7932 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/0.555, allocations: 52.2 kB / 0.7933 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.5551, allocations: 30.69 kB / 0.7933 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.5551, allocations: 21.17 kB / 0.7933 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009268/0.5561, allocations: 0.6623 MB / 0.7939 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5561, allocations: 0 / 0.7939 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001136/0.5572, allocations: 379.5 kB / 0.7943 GB, free: 12.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 (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.002506/0.5597, allocations: 1.635 MB / 0.7959 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.5614, allocations: 0.5794 MB / 0.7965 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5614, allocations: 3.469 kB / 0.7965 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007941/0.5622, allocations: 302.4 kB / 0.7968 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.5644, allocations: 0.5206 MB / 0.7973 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.575, allocations: 7.741 MB / 0.8048 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/0.5757, allocations: 1.104 MB / 0.8059 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007859/0.5765, allocations: 188.5 kB / 0.8061 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/0.5769, allocations: 419.4 kB / 0.8065 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.5769, allocations: 0 / 0.8065 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.623/1.2, allocations: 29.3 MB / 0.8351 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/17.76, allocations: 5.938 kB / 0.8351 GB, free: 6.965 MB / 0.5762 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)