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.005461/0.005461, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001153/0.001153, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 288.1 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.9771/0.9771, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 95.86 kB / 0.681 GB, free: 7.434 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.446, allocations: 86.97 MB / 0.7659 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.1688/0.6149, allocations: 166.1 MB / 0.9281 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005769/0.6207, allocations: 5.708 MB / 0.9337 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.621, allocations: 4 kB / 0.9337 GB, free: 7.328 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.0004772/0.6215, allocations: 95.31 kB / 0.9338 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.6217, allocations: 55.61 kB / 0.9338 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.6219, allocations: 43.89 kB / 0.9338 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.6222, allocations: 211.1 kB / 0.934 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.6224, allocations: 86.62 kB / 0.9341 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.6227, allocations: 111.6 kB / 0.9342 GB, free: 6.734 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.6229, allocations: 63.7 kB / 0.9343 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.6229, allocations: 12 kB / 0.9343 GB, free: 6.66 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.728e-05/0.6229, allocations: 11.94 kB / 0.9343 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.623, allocations: 35.84 kB / 0.9344 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.52e-05/0.6231, allocations: 63.69 kB / 0.9344 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.6233, allocations: 163.3 kB / 0.9346 GB, free: 6.391 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6233, allocations: 0 / 0.9346 GB, free: 6.391 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6233, allocations: 0 / 0.9346 GB, free: 6.391 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.6234, allocations: 0 / 0.9346 GB, free: 6.391 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.0005773/0.6239, allocations: 447 kB / 0.935 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.624, allocations: 11.97 kB / 0.935 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.624, allocations: 38.56 kB / 0.935 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.6241, allocations: 27.8 kB / 0.9351 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.6244, allocations: 253.5 kB / 0.9353 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.6244, allocations: 12.23 kB / 0.9353 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.6244, allocations: 12 kB / 0.9353 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.6247, allocations: 172.4 kB / 0.9355 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.6247, allocations: 7.922 kB / 0.9355 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.6247, allocations: 12 kB / 0.9355 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.6247, allocations: 11.94 kB / 0.9355 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.6248, allocations: 59.91 kB / 0.9356 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008376/0.6257, allocations: 1.148 MB / 0.9367 GB, free: 4 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 7.509e-05/0.6258, allocations: 169.1 kB / 0.9369 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.6258, allocations: 84.08 kB / 0.937 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.6258, allocations: 79.28 kB / 0.937 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.6259, allocations: 117.8 kB / 0.9371 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.6259, allocations: 0 / 0.9371 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 9.295e-05/0.626, allocations: 41.52 kB / 0.9372 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.6261, allocations: 178.1 kB / 0.9374 GB, free: 3.289 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.6263, allocations: 252.9 kB / 0.9376 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.6264, allocations: 29.7 kB / 0.9376 GB, free: 3.004 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.6265, allocations: 131.9 kB / 0.9377 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.6265, allocations: 0 / 0.9377 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.6265, allocations: 21.72 kB / 0.9378 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.6266, allocations: 330.8 kB / 0.9381 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.6266, allocations: 8 kB / 0.9381 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.311e-05/0.6267, allocations: 67.72 kB / 0.9382 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.85e-05/0.6268, allocations: 48.22 kB / 0.9382 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6268, allocations: 0 / 0.9382 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001517/0.6269, allocations: 93.31 kB / 0.9383 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6269, allocations: 8 kB / 0.9383 GB, free: 2.242 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.627, allocations: 0 / 0.9383 GB, free: 2.242 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.627, allocations: 4 kB / 0.9383 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.627, allocations: 7.984 kB / 0.9383 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.6271, allocations: 4 kB / 0.9383 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-05/0.6271, allocations: 19.69 kB / 0.9383 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.6272, allocations: 4 kB / 0.9383 GB, free: 2.203 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.000131/0.6273, allocations: 209.2 kB / 0.9385 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.6274, allocations: 124.7 kB / 0.9387 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.806e-05/0.6274, allocations: 117.8 kB / 0.9388 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-05/0.6275, allocations: 180.2 kB / 0.9389 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.908e-05/0.6276, allocations: 184.3 kB / 0.9391 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.974e-05/0.6276, allocations: 188.2 kB / 0.9393 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.6279, allocations: 453.1 kB / 0.9397 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/0.6279, allocations: 104.9 kB / 0.9398 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.6279, allocations: 101 kB / 0.9399 GB, free: 472 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-05/0.628, allocations: 180.3 kB / 0.9401 GB, free: 284 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.6281, allocations: 188.2 kB / 0.9403 GB, free: 88 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.669e-05/0.6281, allocations: 184.4 kB / 0.9404 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.827e-05/0.6282, allocations: 188.2 kB / 0.9406 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.6283, allocations: 315.7 kB / 0.9409 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.6285, allocations: 201.8 kB / 0.9411 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/0.6286, allocations: 188.3 kB / 0.9413 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.6287, allocations: 104.9 kB / 0.9414 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.6287, allocations: 180.2 kB / 0.9416 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.6288, allocations: 109 kB / 0.9417 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000188/0.629, allocations: 176.5 kB / 0.9418 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.629, allocations: 0 / 0.9418 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002441/0.6292, allocations: 24 kB / 0.9419 GB, free: 14.36 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.0003626/0.6296, allocations: 0.828 MB / 0.9427 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.6297, allocations: 23.92 kB / 0.9427 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6297, allocations: 0 / 0.9427 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.6297, allocations: 320 / 0.9427 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.6303, allocations: 0.5027 MB / 0.9432 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.6321, allocations: 2.049 MB / 0.9452 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.6324, allocations: 0.7163 MB / 0.9459 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.924e-05/0.6324, allocations: 21.55 kB / 0.9459 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.6325, allocations: 43.36 kB / 0.946 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6325, allocations: 0 / 0.946 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.6532, allocations: 3.937 MB / 0.9498 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.868, allocations: 7.562 kB / 0.9498 GB, free: 6.199 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)