Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.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: translateModel(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u") translateModel(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000867/0.000867, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008617/0.0008621, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001597/0.001597, allocations: 267.1 kB / 291.2 MB, free: 1.871 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7358/0.7358, allocations: 144.6 MB / 487 MB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004082, allocations: 18.03 kB / 0.5683 GB, free: 37.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1238, allocations: 83.08 MB / 0.6494 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.3975/0.5213, allocations: 139.1 MB / 0.7853 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003429/0.5248, allocations: 4.474 MB / 0.7897 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.525, allocations: 5.938 kB / 0.7897 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.5252, allocations: 40.02 kB / 0.7897 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.5254, allocations: 75.42 kB / 0.7898 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.201e-05/0.5255, allocations: 30.2 kB / 0.7898 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.5257, allocations: 186.4 kB / 0.79 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.5259, allocations: 63.02 kB / 0.79 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.5261, allocations: 78.61 kB / 0.7901 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.199e-05/0.5262, allocations: 53.47 kB / 0.7902 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.5262, allocations: 2.969 kB / 0.7902 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.5262, allocations: 2.844 kB / 0.7902 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.5262, allocations: 15.17 kB / 0.7902 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.5263, allocations: 50.61 kB / 0.7902 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.5264, allocations: 117.2 kB / 0.7903 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.5264, allocations: 0 / 0.7903 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5264, allocations: 0 / 0.7903 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.5264, allocations: 1.938 kB / 0.7903 GB, free: 2.172 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0005175/0.527, allocations: 415.3 kB / 0.7907 GB, free: 17.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.527, allocations: 14.58 kB / 0.7908 GB, free: 17.78 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.527, allocations: 18.55 kB / 0.7908 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.5273, allocations: 240 kB / 0.791 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5273, allocations: 9.266 kB / 0.791 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.5273, allocations: 12.53 kB / 0.791 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.5276, allocations: 175.6 kB / 0.7912 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.5276, allocations: 2.781 kB / 0.7912 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.5276, allocations: 4.859 kB / 0.7912 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.5276, allocations: 5.938 kB / 0.7912 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.5277, allocations: 65.03 kB / 0.7913 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007595/0.5285, allocations: 1.15 MB / 0.7924 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.794e-05/0.5286, allocations: 174.6 kB / 0.7926 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.5286, allocations: 75.97 kB / 0.7926 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.5286, allocations: 109.1 kB / 0.7927 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.5287, allocations: 0 / 0.7927 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.962e-05/0.5287, allocations: 46.02 kB / 0.7928 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.5288, allocations: 180.3 kB / 0.7929 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.5291, allocations: 255.4 kB / 0.7932 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.5291, allocations: 27.12 kB / 0.7932 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.5291, allocations: 133.4 kB / 0.7933 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.5292, allocations: 0.7188 kB / 0.7933 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-06/0.5292, allocations: 0 / 0.7933 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.5293, allocations: 328 kB / 0.7937 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.5293, allocations: 8.906 kB / 0.7937 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.5293, allocations: 74.61 kB / 0.7937 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.415e-05/0.5294, allocations: 16.44 kB / 0.7938 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5294, allocations: 0 / 0.7938 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001446/0.5295, allocations: 87.98 kB / 0.7938 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5296, allocations: 6.719 kB / 0.7938 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5296, allocations: 3.562 kB / 0.7938 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.5296, allocations: 2.031 kB / 0.7938 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.5296, allocations: 9.359 kB / 0.7939 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.5297, allocations: 1.781 kB / 0.7939 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.445e-05/0.5297, allocations: 13.23 kB / 0.7939 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.5297, allocations: 6.516 kB / 0.7939 GB, free: 15.16 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.5299, allocations: 213.1 kB / 0.7941 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.5299, allocations: 120.9 kB / 0.7942 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.53, allocations: 122.3 kB / 0.7943 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-05/0.53, allocations: 182.2 kB / 0.7945 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.313e-05/0.5301, allocations: 180.4 kB / 0.7947 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.998e-05/0.5302, allocations: 182.3 kB / 0.7948 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.5304, allocations: 459.8 kB / 0.7953 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/0.5304, allocations: 102.2 kB / 0.7954 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.5305, allocations: 112.5 kB / 0.7955 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.075e-05/0.5305, allocations: 178.6 kB / 0.7956 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.5306, allocations: 180.5 kB / 0.7958 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.081e-05/0.5306, allocations: 185.1 kB / 0.796 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-05/0.5307, allocations: 180.1 kB / 0.7962 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.5308, allocations: 322.3 kB / 0.7965 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/0.5309, allocations: 202.1 kB / 0.7967 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.29e-05/0.531, allocations: 183.1 kB / 0.7968 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.5311, allocations: 106.2 kB / 0.7969 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.5312, allocations: 183.7 kB / 0.7971 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.5312, allocations: 105.8 kB / 0.7972 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001582/0.5314, allocations: 182.2 kB / 0.7974 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5314, allocations: 0.6562 kB / 0.7974 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002315/0.5316, allocations: 19.69 kB / 0.7974 GB, free: 11.62 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001112/0.5317, allocations: 174.5 kB / 0.7976 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.304e-05/0.5318, allocations: 22.41 kB / 0.7976 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5318, allocations: 0.9375 kB / 0.7976 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.5318, allocations: 2.906 kB / 0.7976 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.5323, allocations: 0.5739 MB / 0.7982 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.5327, allocations: 351 kB / 0.7985 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.533, allocations: 0.7229 MB / 0.7992 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.081e-05/0.533, allocations: 21.55 kB / 0.7992 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.5331, allocations: 15.12 kB / 0.7992 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of SimCode: time 1.9e-07/0.5331, allocations: 2.906 kB / 0.7992 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of Templates: time 0.004082/0.5372, allocations: 1.797 MB / 0.801 GB, free: 9.832 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) Environment - environmentSimulation: