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.001285/0.001285, allocations: 108.3 kB / 16.41 MB, free: 6.453 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.001276/0.001276, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002364/0.002364, allocations: 280.2 kB / 291.5 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.9681/0.9681, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 91.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3952, allocations: 86.98 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.165/0.5603, allocations: 166.1 MB / 0.9292 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005871/0.5662, allocations: 5.704 MB / 0.9348 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.5664, allocations: 4 kB / 0.9348 GB, free: 7.484 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.0004029/0.5669, allocations: 99.31 kB / 0.9349 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.5671, allocations: 55.55 kB / 0.935 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.5672, allocations: 39.94 kB / 0.935 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.5676, allocations: 207.2 kB / 0.9352 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.5678, allocations: 90.62 kB / 0.9353 GB, free: 7 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.568, allocations: 111.6 kB / 0.9354 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.5682, allocations: 67.59 kB / 0.9354 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.5682, allocations: 12 kB / 0.9355 GB, free: 6.812 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.682e-05/0.5682, allocations: 8 kB / 0.9355 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.5683, allocations: 39.83 kB / 0.9355 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 7.309e-05/0.5684, allocations: 63.69 kB / 0.9356 GB, free: 6.703 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.5686, allocations: 157.9 kB / 0.9357 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.5686, allocations: 0 / 0.9357 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5686, allocations: 0 / 0.9357 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.5686, allocations: 4 kB / 0.9357 GB, free: 6.547 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.0005806/0.5692, allocations: 443 kB / 0.9361 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.5692, allocations: 8.031 kB / 0.9361 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.5693, allocations: 19.81 kB / 0.9362 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.5696, allocations: 265.2 kB / 0.9364 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.5697, allocations: 16.22 kB / 0.9364 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.5697, allocations: 12 kB / 0.9364 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.5699, allocations: 164.4 kB / 0.9366 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5699, allocations: 4 kB / 0.9366 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.5699, allocations: 8 kB / 0.9366 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.57, allocations: 4 kB / 0.9366 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.5701, allocations: 75.84 kB / 0.9367 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.571, allocations: 1.144 MB / 0.9378 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 8.443e-05/0.5711, allocations: 169.1 kB / 0.938 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/0.5712, allocations: 80.14 kB / 0.938 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.5712, allocations: 87.16 kB / 0.9381 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.5713, allocations: 109.8 kB / 0.9382 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.5713, allocations: 0 / 0.9382 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 8.828e-05/0.5714, allocations: 41.52 kB / 0.9383 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.5715, allocations: 178.1 kB / 0.9384 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.5717, allocations: 260.8 kB / 0.9387 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.5717, allocations: 25.7 kB / 0.9387 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.5719, allocations: 139.9 kB / 0.9389 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.5719, allocations: 0 / 0.9389 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.5719, allocations: 21.72 kB / 0.9389 GB, free: 3.051 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.572, allocations: 322.8 kB / 0.9392 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.5721, allocations: 11.98 kB / 0.9392 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.5721, allocations: 67.72 kB / 0.9393 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.199e-05/0.5722, allocations: 48.23 kB / 0.9393 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5722, allocations: 0 / 0.9393 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001628/0.5724, allocations: 89.31 kB / 0.9394 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.5724, allocations: 14.48 kB / 0.9394 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5724, allocations: 0 / 0.9394 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.5724, allocations: 4 kB / 0.9394 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.5725, allocations: 4 kB / 0.9394 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.5725, allocations: 4 kB / 0.9394 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.612e-05/0.5726, allocations: 11.84 kB / 0.9394 GB, free: 2.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.5726, allocations: 8 kB / 0.9394 GB, free: 2.422 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.0001173/0.5727, allocations: 213.2 kB / 0.9396 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.5728, allocations: 120.7 kB / 0.9397 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.5729, allocations: 121.8 kB / 0.9399 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-05/0.573, allocations: 180.2 kB / 0.94 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.621e-05/0.573, allocations: 180.3 kB / 0.9402 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.736e-05/0.5731, allocations: 192.2 kB / 0.9404 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.5734, allocations: 445.2 kB / 0.9408 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.299e-05/0.5734, allocations: 104.9 kB / 0.9409 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.5735, allocations: 112.9 kB / 0.941 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.159e-05/0.5735, allocations: 180.3 kB / 0.9412 GB, free: 500 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.5736, allocations: 180.2 kB / 0.9414 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.646e-05/0.5737, allocations: 180.5 kB / 0.9415 GB, free: 124 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.67e-05/0.5737, allocations: 188.2 kB / 0.9417 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.5739, allocations: 319.6 kB / 0.942 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.435e-05/0.574, allocations: 197.8 kB / 0.9422 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.432e-05/0.5741, allocations: 196.4 kB / 0.9424 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.5742, allocations: 104.9 kB / 0.9425 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.5742, allocations: 176.3 kB / 0.9427 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.5743, allocations: 108.9 kB / 0.9428 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001579/0.5745, allocations: 184.5 kB / 0.9429 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5745, allocations: 0 / 0.9429 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002623/0.5747, allocations: 20 kB / 0.943 GB, free: 14.57 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.0001103/0.5748, allocations: 178.5 kB / 0.9431 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.182e-05/0.5749, allocations: 19.98 kB / 0.9432 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5749, allocations: 0 / 0.9432 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-06/0.5749, allocations: 3.938 kB / 0.9432 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.5755, allocations: 0.5119 MB / 0.9437 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.576, allocations: 349 kB / 0.944 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.5763, allocations: 0.7241 MB / 0.9447 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.5763, allocations: 15.44 kB / 0.9447 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.5763, allocations: 0 / 0.9447 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of Templates: time 0.003743/0.5801, allocations: 2.004 MB / 0.9467 GB, free: 10.71 MB / 0.7169 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)