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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8286/0.8286, allocations: 143.4 MB / 159.2 MB, free: 4.914 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 195.6 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009899/0.0009899, allocations: 103.7 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 296.2 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 84.16 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3171, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.4856/0.8028, allocations: 163.9 MB / 0.928 GB, free: 408 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004297/0.8071, allocations: 5.706 MB / 0.9335 GB, free: 284 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.8073, allocations: 7.625 kB / 0.9335 GB, free: 284 kB / 0.5573 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.0003504/0.8077, allocations: 80.69 kB / 0.9336 GB, free: 284 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.8079, allocations: 52.19 kB / 0.9337 GB, free: 276 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.8081, allocations: 29.73 kB / 0.9337 GB, free: 276 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.8084, allocations: 262.2 kB / 0.9339 GB, free: 276 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.8085, allocations: 80.34 kB / 0.934 GB, free: 268 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.8087, allocations: 94.56 kB / 0.9341 GB, free: 268 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.8089, allocations: 78.22 kB / 0.9342 GB, free: 264 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.8089, allocations: 6.938 kB / 0.9342 GB, free: 264 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.482e-05/0.8089, allocations: 7.688 kB / 0.9342 GB, free: 264 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.809, allocations: 25.61 kB / 0.9342 GB, free: 264 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.063e-05/0.809, allocations: 67.44 kB / 0.9343 GB, free: 264 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.8092, allocations: 148.9 kB / 0.9344 GB, free: 256 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8092, allocations: 1.781 kB / 0.9344 GB, free: 256 kB / 0.5573 GB Notification: Performance of FrontEnd: time 6.81e-07/0.8092, allocations: 3.938 kB / 0.9344 GB, free: 252 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.8092, allocations: 0 / 0.9344 GB, free: 252 kB / 0.5573 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.0005346/0.8098, allocations: 447 kB / 0.9349 GB, free: 15.85 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.8098, allocations: 9.938 kB / 0.9349 GB, free: 15.85 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.8099, allocations: 16.47 kB / 0.9349 GB, free: 15.84 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.8101, allocations: 244.6 kB / 0.9351 GB, free: 15.63 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.8101, allocations: 10.67 kB / 0.9351 GB, free: 15.63 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.8102, allocations: 12.06 kB / 0.9351 GB, free: 15.63 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.8104, allocations: 170.9 kB / 0.9353 GB, free: 15.53 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8104, allocations: 0 / 0.9353 GB, free: 15.53 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.8104, allocations: 3.625 kB / 0.9353 GB, free: 15.53 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.8104, allocations: 6.969 kB / 0.9353 GB, free: 15.53 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.8105, allocations: 68 kB / 0.9354 GB, free: 15.53 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008065/0.8114, allocations: 1.148 MB / 0.9365 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.86e-05/0.8114, allocations: 172 kB / 0.9367 GB, free: 14.33 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.796e-05/0.8115, allocations: 81.8 kB / 0.9367 GB, free: 14.25 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.8115, allocations: 75.28 kB / 0.9368 GB, free: 14.17 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.8116, allocations: 116.6 kB / 0.9369 GB, free: 14.05 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 2.194e-06/0.8116, allocations: 4.516 kB / 0.9369 GB, free: 14.05 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 8.302e-05/0.8116, allocations: 46.83 kB / 0.937 GB, free: 14.01 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.8117, allocations: 183.5 kB / 0.9372 GB, free: 13.81 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.812, allocations: 247.7 kB / 0.9374 GB, free: 13.7 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.812, allocations: 30.67 kB / 0.9374 GB, free: 13.67 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 9.928e-05/0.8121, allocations: 134.2 kB / 0.9375 GB, free: 13.57 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-06/0.8121, allocations: 3.984 kB / 0.9375 GB, free: 13.57 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.8122, allocations: 20.7 kB / 0.9376 GB, free: 13.55 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.8123, allocations: 328.2 kB / 0.9379 GB, free: 13.24 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.8123, allocations: 11.78 kB / 0.9379 GB, free: 13.24 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.8123, allocations: 63.86 kB / 0.938 GB, free: 13.17 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.8124, allocations: 54.64 kB / 0.938 GB, free: 13.12 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8124, allocations: 0.5 kB / 0.938 GB, free: 13.12 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001634/0.8126, allocations: 86.84 kB / 0.9381 GB, free: 13.08 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.8126, allocations: 7 kB / 0.9381 GB, free: 13.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8126, allocations: 1.031 kB / 0.9381 GB, free: 13.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.8126, allocations: 2.188 kB / 0.9381 GB, free: 13.08 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.8127, allocations: 13.09 kB / 0.9381 GB, free: 13.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.8127, allocations: 6.031 kB / 0.9381 GB, free: 13.08 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.8128, allocations: 16.38 kB / 0.9381 GB, free: 13.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.8128, allocations: 2.75 kB / 0.9381 GB, free: 13.07 MB / 0.573 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.0001128/0.8129, allocations: 203.6 kB / 0.9383 GB, free: 12.88 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.518e-05/0.813, allocations: 126.5 kB / 0.9385 GB, free: 12.77 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.528e-05/0.8131, allocations: 124.8 kB / 0.9386 GB, free: 12.66 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.263e-05/0.8131, allocations: 182.8 kB / 0.9387 GB, free: 12.47 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.633e-05/0.8132, allocations: 180 kB / 0.9389 GB, free: 12.29 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.255e-05/0.8133, allocations: 183.2 kB / 0.9391 GB, free: 12.11 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.8135, allocations: 455.4 kB / 0.9395 GB, free: 11.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.031e-05/0.8136, allocations: 103.8 kB / 0.9396 GB, free: 11.56 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.8136, allocations: 112.8 kB / 0.9397 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-05/0.8137, allocations: 182.4 kB / 0.9399 GB, free: 11.27 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.8137, allocations: 179.3 kB / 0.9401 GB, free: 11.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.798e-05/0.8138, allocations: 181.7 kB / 0.9402 GB, free: 10.91 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.424e-05/0.8138, allocations: 177.3 kB / 0.9404 GB, free: 10.73 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.8141, allocations: 0.8963 MB / 0.9413 GB, free: 9.82 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.8142, allocations: 195.3 kB / 0.9415 GB, free: 9.613 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.8143, allocations: 181.4 kB / 0.9417 GB, free: 9.434 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.8144, allocations: 105.7 kB / 0.9418 GB, free: 9.328 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.8145, allocations: 184.8 kB / 0.9419 GB, free: 9.145 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.8145, allocations: 108.1 kB / 0.942 GB, free: 9.035 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001481/0.8147, allocations: 185.9 kB / 0.9422 GB, free: 8.961 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/0.8147, allocations: 0 / 0.9422 GB, free: 8.961 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003347/0.815, allocations: 25.03 kB / 0.9422 GB, free: 8.957 MB / 0.573 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.000106/0.8151, allocations: 171.7 kB / 0.9424 GB, free: 8.793 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 7.809e-05/0.8152, allocations: 26.58 kB / 0.9424 GB, free: 8.789 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8152, allocations: 0 / 0.9424 GB, free: 8.789 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-06/0.8152, allocations: 2.812 kB / 0.9424 GB, free: 8.789 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/0.8158, allocations: 0.5747 MB / 0.943 GB, free: 8.266 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.8163, allocations: 354.8 kB / 0.9433 GB, free: 7.996 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.8165, allocations: 0.7117 MB / 0.944 GB, free: 7.301 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 7.505e-05/0.8166, allocations: 28.86 kB / 0.944 GB, free: 7.293 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.8166, allocations: 15.56 kB / 0.9441 GB, free: 7.285 MB / 0.573 GB Notification: Performance of SimCode: time 2.31e-07/0.8166, allocations: 0 / 0.9441 GB, free: 7.285 MB / 0.573 GB Notification: Performance of Templates: time 0.004316/0.821, allocations: 1.898 MB / 0.9459 GB, free: 7.152 MB / 0.573 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)