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.01174/0.01174, allocations: 101.8 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.001718/0.001718, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.303/1.303, allocations: 222.9 MB / 240.4 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.002011/0.002011, allocations: 294 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9224/0.9224, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 95.86 kB / 0.6814 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.5059, allocations: 86.98 MB / 0.7664 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.1704/0.6763, allocations: 166.1 MB / 0.9286 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005267/0.6816, allocations: 5.711 MB / 0.9341 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.6818, allocations: 7.938 kB / 0.9342 GB, free: 7.406 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.0004622/0.6823, allocations: 94.61 kB / 0.9342 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.6825, allocations: 55.55 kB / 0.9343 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.6826, allocations: 35.97 kB / 0.9343 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.6829, allocations: 211.1 kB / 0.9345 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.6832, allocations: 94.61 kB / 0.9346 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.6834, allocations: 103.6 kB / 0.9347 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.6835, allocations: 79.56 kB / 0.9348 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.6836, allocations: 8 kB / 0.9348 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.293e-05/0.6836, allocations: 12 kB / 0.9348 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.6836, allocations: 27.86 kB / 0.9348 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.6837, allocations: 67.67 kB / 0.9349 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.6839, allocations: 161.9 kB / 0.9351 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6839, allocations: 0 / 0.9351 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.522e-06/0.6839, allocations: 0 / 0.9351 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.684, allocations: 0 / 0.9351 GB, free: 6.477 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.0005743/0.6845, allocations: 443 kB / 0.9355 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6846, allocations: 12.03 kB / 0.9355 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.6846, allocations: 15.81 kB / 0.9355 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.685, allocations: 258.4 kB / 0.9358 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.685, allocations: 12.23 kB / 0.9358 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.685, allocations: 12 kB / 0.9358 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.6852, allocations: 168.7 kB / 0.9359 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.6853, allocations: 0 / 0.9359 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.6853, allocations: 8 kB / 0.9359 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.6853, allocations: 11.94 kB / 0.936 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.6854, allocations: 67.89 kB / 0.936 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008741/0.6863, allocations: 1.144 MB / 0.9371 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 8.516e-05/0.6864, allocations: 173.1 kB / 0.9373 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.6864, allocations: 80.14 kB / 0.9374 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.6865, allocations: 87.16 kB / 0.9375 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.6865, allocations: 109.8 kB / 0.9376 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6865, allocations: 0 / 0.9376 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 7.885e-05/0.6866, allocations: 45.5 kB / 0.9376 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.6867, allocations: 182.1 kB / 0.9378 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.687, allocations: 252.9 kB / 0.938 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.687, allocations: 29.69 kB / 0.9381 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.6871, allocations: 131.9 kB / 0.9382 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-06/0.6871, allocations: 4 kB / 0.9382 GB, free: 3.008 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.6871, allocations: 17.72 kB / 0.9382 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6872, allocations: 330.8 kB / 0.9385 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.6873, allocations: 8 kB / 0.9385 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.6873, allocations: 67.72 kB / 0.9386 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.463e-05/0.6874, allocations: 52.22 kB / 0.9386 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6874, allocations: 0 / 0.9386 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001386/0.6875, allocations: 93.31 kB / 0.9387 GB, free: 2.387 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.6876, allocations: 4 kB / 0.9387 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6876, allocations: 0 / 0.9387 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.6876, allocations: 4 kB / 0.9387 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.615e-05/0.6876, allocations: 8 kB / 0.9387 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6876, allocations: 3.984 kB / 0.9387 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.6877, allocations: 15.84 kB / 0.9388 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.6877, allocations: 0 / 0.9388 GB, free: 2.352 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.0001235/0.6879, allocations: 215.6 kB / 0.939 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.6879, allocations: 124.7 kB / 0.9391 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.688, allocations: 121.8 kB / 0.9392 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-05/0.6881, allocations: 180.2 kB / 0.9394 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.535e-05/0.6881, allocations: 180.3 kB / 0.9395 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.94e-05/0.6882, allocations: 192.3 kB / 0.9397 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.6884, allocations: 449.2 kB / 0.9402 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/0.6885, allocations: 108.9 kB / 0.9403 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.6885, allocations: 105 kB / 0.9404 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.716e-05/0.6886, allocations: 176.3 kB / 0.9405 GB, free: 428 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.6886, allocations: 180.2 kB / 0.9407 GB, free: 240 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.588e-05/0.6887, allocations: 184.4 kB / 0.9409 GB, free: 48 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.974e-05/0.6888, allocations: 192.2 kB / 0.9411 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.6889, allocations: 307.8 kB / 0.9414 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.689, allocations: 209.8 kB / 0.9416 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.891e-05/0.6891, allocations: 184.3 kB / 0.9417 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.932e-05/0.6892, allocations: 104.9 kB / 0.9418 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.6893, allocations: 184.2 kB / 0.942 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.6893, allocations: 108.9 kB / 0.9421 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001501/0.6895, allocations: 176.5 kB / 0.9423 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6895, allocations: 0 / 0.9423 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002431/0.6897, allocations: 24 kB / 0.9423 GB, free: 14.5 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.000144/0.6899, allocations: 184.5 kB / 0.9425 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.69, allocations: 16 kB / 0.9425 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.69, allocations: 0 / 0.9425 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.69, allocations: 7.938 kB / 0.9425 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.6906, allocations: 0.5066 MB / 0.943 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.6911, allocations: 331.3 kB / 0.9433 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.6913, allocations: 0.7163 MB / 0.944 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.781e-05/0.6914, allocations: 21.53 kB / 0.944 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.6914, allocations: 11.44 kB / 0.944 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6914, allocations: 8 kB / 0.9441 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of Templates: time 0.004365/0.6958, allocations: 1.984 MB / 0.946 GB, free: 10.7 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)