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.007195/0.007195, allocations: 102.9 kB / 15.73 MB, free: 6.035 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.001546/0.001546, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 279 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9522/0.9522, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 95.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1802, allocations: 86.98 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.5329/0.7132, allocations: 166.1 MB / 0.9286 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005651/0.7189, allocations: 5.7 MB / 0.9341 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.7192, allocations: 11.94 kB / 0.9341 GB, free: 6.973 MB / 0.6856 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.0005146/0.7197, allocations: 99.31 kB / 0.9342 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.7199, allocations: 55.61 kB / 0.9343 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.7201, allocations: 31.95 kB / 0.9343 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.7204, allocations: 219.6 kB / 0.9345 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.7206, allocations: 86.62 kB / 0.9346 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.7209, allocations: 103.6 kB / 0.9347 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.721, allocations: 75.58 kB / 0.9348 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.7211, allocations: 11.98 kB / 0.9348 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 2.813e-05/0.7211, allocations: 12 kB / 0.9348 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.7211, allocations: 23.92 kB / 0.9348 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 8.353e-05/0.7212, allocations: 71.61 kB / 0.9349 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.7214, allocations: 158.3 kB / 0.9351 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.7214, allocations: 0 / 0.9351 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7215, allocations: 0 / 0.9351 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.7215, allocations: 7.938 kB / 0.9351 GB, free: 6.035 MB / 0.6856 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.0005616/0.722, allocations: 443.5 kB / 0.9355 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.7221, allocations: 12.03 kB / 0.9355 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.7221, allocations: 15.81 kB / 0.9355 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.7224, allocations: 252.6 kB / 0.9358 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.7225, allocations: 12.23 kB / 0.9358 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.7225, allocations: 12 kB / 0.9358 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.7227, allocations: 168.7 kB / 0.9359 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.7227, allocations: 3.938 kB / 0.9359 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.7228, allocations: 8 kB / 0.9359 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.7228, allocations: 4 kB / 0.936 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.7229, allocations: 71.89 kB / 0.936 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000832/0.7237, allocations: 1.144 MB / 0.9371 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 7.32e-05/0.7238, allocations: 177.1 kB / 0.9373 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.7239, allocations: 80.14 kB / 0.9374 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.7239, allocations: 83.22 kB / 0.9375 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.7239, allocations: 109.8 kB / 0.9376 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.7239, allocations: 0 / 0.9376 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 7.952e-05/0.724, allocations: 41.52 kB / 0.9376 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.7241, allocations: 190 kB / 0.9378 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.7243, allocations: 245 kB / 0.938 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.7244, allocations: 29.7 kB / 0.9381 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.7245, allocations: 135.9 kB / 0.9382 GB, free: 2.574 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-06/0.7245, allocations: 7.938 kB / 0.9382 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.7245, allocations: 13.72 kB / 0.9382 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.7246, allocations: 326.8 kB / 0.9385 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.7246, allocations: 15.98 kB / 0.9385 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.252e-05/0.7247, allocations: 63.72 kB / 0.9386 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.785e-05/0.7247, allocations: 48.23 kB / 0.9386 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7248, allocations: 0 / 0.9386 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001472/0.7249, allocations: 97.3 kB / 0.9387 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.7249, allocations: 4 kB / 0.9387 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7249, allocations: 4 kB / 0.9387 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.725, allocations: 0 / 0.9387 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.874e-05/0.725, allocations: 8 kB / 0.9387 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.725, allocations: 3.938 kB / 0.9387 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.7251, allocations: 20.44 kB / 0.9388 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.7251, allocations: 0 / 0.9388 GB, free: 1.91 MB / 0.6856 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.0001063/0.7252, allocations: 209.9 kB / 0.939 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.7253, allocations: 124.7 kB / 0.9391 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.7254, allocations: 125.8 kB / 0.9392 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.981e-05/0.7254, allocations: 180.3 kB / 0.9394 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.423e-05/0.7255, allocations: 184.3 kB / 0.9396 GB, free: 1.066 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.684e-05/0.7255, allocations: 184.9 kB / 0.9397 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.7258, allocations: 445.2 kB / 0.9402 GB, free: 396 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-05/0.7259, allocations: 112.9 kB / 0.9403 GB, free: 276 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.7259, allocations: 104.9 kB / 0.9404 GB, free: 164 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-05/0.726, allocations: 176.3 kB / 0.9405 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.726, allocations: 185.8 kB / 0.9407 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.037e-05/0.7261, allocations: 184.3 kB / 0.9409 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.358e-05/0.7261, allocations: 184.2 kB / 0.9411 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.7263, allocations: 319.6 kB / 0.9414 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.7264, allocations: 197.9 kB / 0.9416 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.572e-05/0.7265, allocations: 184.2 kB / 0.9417 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.7266, allocations: 108.9 kB / 0.9418 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.7266, allocations: 180.3 kB / 0.942 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.7267, allocations: 108.9 kB / 0.9421 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001595/0.7268, allocations: 188.5 kB / 0.9423 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.555e-06/0.7269, allocations: 0 / 0.9423 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002441/0.7271, allocations: 23.94 kB / 0.9423 GB, free: 14.06 MB / 0.7012 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.0001246/0.7272, allocations: 170.5 kB / 0.9425 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 9.537e-05/0.7273, allocations: 27.92 kB / 0.9425 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7273, allocations: 4 kB / 0.9425 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-06/0.7274, allocations: 0 / 0.9425 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.7279, allocations: 0.4988 MB / 0.943 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.7284, allocations: 331.4 kB / 0.9433 GB, free: 13 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.7287, allocations: 0.7202 MB / 0.944 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 7.995e-05/0.7288, allocations: 21.53 kB / 0.944 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.7288, allocations: 19.44 kB / 0.944 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of SimCode: time 2.5e-07/0.7288, allocations: 0 / 0.944 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of Templates: time 0.004565/0.7334, allocations: 1.987 MB / 0.946 GB, free: 10.27 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.makefile (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)