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.004676/0.004676, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001059/0.001059, allocations: 194.9 kB / 16.67 MB, free: 5.969 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 282.9 kB / 290.8 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9408/0.9408, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 99.27 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1607, allocations: 86.97 MB / 0.7664 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.5408/0.7016, allocations: 166.1 MB / 0.9286 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005032/0.7066, allocations: 5.7 MB / 0.9341 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.7068, allocations: 7.938 kB / 0.9341 GB, free: 6.996 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.000402/0.7072, allocations: 100.2 kB / 0.9342 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.7074, allocations: 59.55 kB / 0.9343 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.7075, allocations: 35.95 kB / 0.9343 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.7078, allocations: 215.6 kB / 0.9345 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.708, allocations: 86.62 kB / 0.9346 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.7082, allocations: 103.6 kB / 0.9347 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.7083, allocations: 75.62 kB / 0.9348 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.7083, allocations: 12 kB / 0.9348 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 2.444e-05/0.7084, allocations: 8 kB / 0.9348 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.7084, allocations: 35.86 kB / 0.9348 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.7085, allocations: 67.61 kB / 0.9349 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.7087, allocations: 157.5 kB / 0.9351 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.7087, allocations: 0 / 0.9351 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7087, allocations: 0 / 0.9351 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7087, allocations: 0 / 0.9351 GB, free: 6.062 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.0004949/0.7092, allocations: 446.8 kB / 0.9355 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.7092, allocations: 11.97 kB / 0.9355 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.7093, allocations: 15.91 kB / 0.9355 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.7096, allocations: 259.9 kB / 0.9358 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.7096, allocations: 12.23 kB / 0.9358 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.7096, allocations: 12 kB / 0.9358 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.7098, allocations: 168.7 kB / 0.9359 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.7098, allocations: 3.938 kB / 0.9359 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.7099, allocations: 4 kB / 0.9359 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.7099, allocations: 4 kB / 0.9359 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.71, allocations: 67.89 kB / 0.936 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007509/0.7107, allocations: 1.156 MB / 0.9371 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.7108, allocations: 173 kB / 0.9373 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.7109, allocations: 80.14 kB / 0.9374 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.7109, allocations: 75.28 kB / 0.9375 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.7109, allocations: 113.8 kB / 0.9376 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.7109, allocations: 4 kB / 0.9376 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 7.149e-05/0.711, allocations: 41.61 kB / 0.9376 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.7111, allocations: 186 kB / 0.9378 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.7113, allocations: 249 kB / 0.938 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.7113, allocations: 29.7 kB / 0.9381 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.7114, allocations: 132 kB / 0.9382 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/0.7114, allocations: 0 / 0.9382 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.7115, allocations: 21.72 kB / 0.9382 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.7116, allocations: 330.8 kB / 0.9385 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.7116, allocations: 7.984 kB / 0.9385 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.306e-05/0.7117, allocations: 67.72 kB / 0.9386 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.582e-05/0.7117, allocations: 52.17 kB / 0.9386 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7117, allocations: 0.5625 kB / 0.9386 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001398/0.7119, allocations: 93.34 kB / 0.9387 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.7119, allocations: 8 kB / 0.9387 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.7119, allocations: 4.156 kB / 0.9387 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.7119, allocations: 0 / 0.9387 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.396e-05/0.712, allocations: 8 kB / 0.9387 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.712, allocations: 6 kB / 0.9387 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.7121, allocations: 15.89 kB / 0.9388 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.7121, allocations: 4 kB / 0.9388 GB, free: 1.926 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.0001053/0.7122, allocations: 209.6 kB / 0.939 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.7123, allocations: 120.8 kB / 0.9391 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.7123, allocations: 133.8 kB / 0.9392 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.755e-05/0.7124, allocations: 176.3 kB / 0.9394 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.495e-05/0.7125, allocations: 188.3 kB / 0.9396 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.213e-05/0.7125, allocations: 180.2 kB / 0.9397 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.7128, allocations: 445.2 kB / 0.9402 GB, free: 412 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.161e-05/0.7128, allocations: 116.9 kB / 0.9403 GB, free: 288 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.7128, allocations: 104.9 kB / 0.9404 GB, free: 176 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.749e-05/0.7129, allocations: 180.3 kB / 0.9405 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/0.713, allocations: 184.2 kB / 0.9407 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.674e-05/0.713, allocations: 176.3 kB / 0.9409 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.914e-05/0.7131, allocations: 180.2 kB / 0.9411 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.7132, allocations: 323.7 kB / 0.9414 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.7133, allocations: 207.4 kB / 0.9416 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.7133, allocations: 176.3 kB / 0.9417 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-05/0.7134, allocations: 112.9 kB / 0.9418 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.7135, allocations: 180.3 kB / 0.942 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.7135, allocations: 101 kB / 0.9421 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001551/0.7137, allocations: 188.5 kB / 0.9423 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7137, allocations: 3.938 kB / 0.9423 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002423/0.714, allocations: 20 kB / 0.9423 GB, free: 14.08 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 9.944e-05/0.7141, allocations: 170.5 kB / 0.9425 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 7.882e-05/0.7141, allocations: 28.23 kB / 0.9425 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7142, allocations: 3.938 kB / 0.9425 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/0.7142, allocations: 0 / 0.9425 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.7147, allocations: 0.5157 MB / 0.943 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.7151, allocations: 335.8 kB / 0.9433 GB, free: 13 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.7154, allocations: 0.7201 MB / 0.944 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 6.252e-05/0.7154, allocations: 21.55 kB / 0.944 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.7155, allocations: 15.44 kB / 0.9441 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of SimCode: time 2.2e-07/0.7155, allocations: 0 / 0.9441 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of Templates: time 0.004204/0.7197, allocations: 1.953 MB / 0.946 GB, free: 10.31 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)