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: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u",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.004932/0.004932, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001087/0.001088, allocations: 198.5 kB / 16.68 MB, free: 5.926 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 301.2 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.9222/0.9222, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 104.1 kB / 0.681 GB, free: 7.496 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4684, allocations: 86.98 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.1747/0.6432, allocations: 166.1 MB / 0.9281 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006698/0.6499, allocations: 5.704 MB / 0.9337 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.6502, allocations: 8 kB / 0.9337 GB, free: 7.426 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/FlowSplitter_u.mo:47:3-49:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/FlowSplitter_u.mo:50:3-51:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005116/0.6507, allocations: 102.5 kB / 0.9338 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.6509, allocations: 55.61 kB / 0.9338 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.6511, allocations: 39.89 kB / 0.9338 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.6513, allocations: 211.2 kB / 0.934 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.6516, allocations: 90.61 kB / 0.9341 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.6518, allocations: 103.6 kB / 0.9342 GB, free: 6.836 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.652, allocations: 71.64 kB / 0.9343 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.652, allocations: 8 kB / 0.9343 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.358e-05/0.652, allocations: 12 kB / 0.9343 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.6521, allocations: 35.78 kB / 0.9344 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 7.964e-05/0.6522, allocations: 63.69 kB / 0.9344 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.6524, allocations: 163.3 kB / 0.9346 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.6524, allocations: 0 / 0.9346 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6524, allocations: 0 / 0.9346 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.6524, allocations: 0 / 0.9346 GB, free: 6.488 MB / 0.7012 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.0006111/0.653, allocations: 443 kB / 0.935 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.6531, allocations: 12.03 kB / 0.935 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.852e-05/0.6531, allocations: 46.55 kB / 0.935 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.6532, allocations: 15.81 kB / 0.9351 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.6536, allocations: 265.2 kB / 0.9353 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.6536, allocations: 12.23 kB / 0.9353 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.6536, allocations: 12 kB / 0.9353 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.6538, allocations: 176.4 kB / 0.9355 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6539, allocations: 0 / 0.9355 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.6539, allocations: 12 kB / 0.9355 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.6539, allocations: 0 / 0.9355 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.654, allocations: 67.84 kB / 0.9356 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008405/0.6549, allocations: 1.148 MB / 0.9367 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 7.944e-05/0.655, allocations: 169.1 kB / 0.9369 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.655, allocations: 88.06 kB / 0.937 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.6551, allocations: 79.28 kB / 0.937 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.6551, allocations: 113.8 kB / 0.9371 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6551, allocations: 0 / 0.9371 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 7.93e-05/0.6552, allocations: 45.52 kB / 0.9372 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.6553, allocations: 178.1 kB / 0.9373 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.6556, allocations: 249 kB / 0.9376 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.6556, allocations: 29.64 kB / 0.9376 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.6557, allocations: 139.9 kB / 0.9377 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.6557, allocations: 0 / 0.9377 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.6557, allocations: 21.7 kB / 0.9378 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6559, allocations: 326.8 kB / 0.9381 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.6559, allocations: 8 kB / 0.9381 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.783e-05/0.6559, allocations: 67.72 kB / 0.9382 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.544e-05/0.656, allocations: 48.22 kB / 0.9382 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.656, allocations: 0 / 0.9382 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001553/0.6562, allocations: 97.31 kB / 0.9383 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.6562, allocations: 4 kB / 0.9383 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.6562, allocations: 4 kB / 0.9383 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.6562, allocations: 0 / 0.9383 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.6563, allocations: 11.98 kB / 0.9383 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.6563, allocations: 3.984 kB / 0.9383 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.6564, allocations: 19.75 kB / 0.9383 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.6564, allocations: 0 / 0.9383 GB, free: 2.301 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.6565, allocations: 213.2 kB / 0.9385 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.6566, allocations: 124.7 kB / 0.9387 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.6567, allocations: 121.8 kB / 0.9388 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.807e-05/0.6567, allocations: 180.2 kB / 0.9389 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.738e-05/0.6568, allocations: 176.3 kB / 0.9391 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-05/0.6569, allocations: 196.3 kB / 0.9393 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.6571, allocations: 453.1 kB / 0.9397 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-05/0.6571, allocations: 105 kB / 0.9398 GB, free: 0.6562 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.6572, allocations: 109 kB / 0.9399 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.961e-05/0.6572, allocations: 176.3 kB / 0.9401 GB, free: 372 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/0.6573, allocations: 184.2 kB / 0.9403 GB, free: 180 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.772e-05/0.6574, allocations: 184.5 kB / 0.9405 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.327e-05/0.6575, allocations: 188.2 kB / 0.9406 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.6576, allocations: 315.6 kB / 0.9409 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.6577, allocations: 201.8 kB / 0.9411 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.6578, allocations: 180.3 kB / 0.9413 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.6579, allocations: 112.9 kB / 0.9414 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.658, allocations: 176.3 kB / 0.9416 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.658, allocations: 101 kB / 0.9417 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001556/0.6582, allocations: 192.4 kB / 0.9419 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6582, allocations: 0 / 0.9419 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002381/0.6584, allocations: 20 kB / 0.9419 GB, free: 14.45 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003714/0.6588, allocations: 0.828 MB / 0.9427 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.379e-05/0.6589, allocations: 23.92 kB / 0.9427 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6589, allocations: 0 / 0.9427 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.6589, allocations: 320 / 0.9427 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.6595, allocations: 0.5 MB / 0.9432 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.6613, allocations: 2.049 MB / 0.9452 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.6616, allocations: 0.7124 MB / 0.9459 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.44e-05/0.6616, allocations: 25.53 kB / 0.9459 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.6617, allocations: 35.44 kB / 0.9459 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of SimCode: time 2.104e-06/0.6617, allocations: 0 / 0.9459 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.6805, allocations: 3.852 MB / 0.9497 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.2/7.881, allocations: 10.69 kB / 0.9497 GB, free: 6.375 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)