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.001164/0.001164, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001174/0.001174, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.374/1.374, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002215/0.002215, allocations: 292.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9658/0.9658, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 100.1 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4409, allocations: 86.97 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.1753/0.6163, allocations: 166.1 MB / 0.9292 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005421/0.6217, allocations: 5.7 MB / 0.9348 GB, free: 7.441 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.622, allocations: 8 kB / 0.9348 GB, free: 7.434 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.0004678/0.6224, allocations: 99.31 kB / 0.9349 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.6226, allocations: 51.62 kB / 0.935 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.6228, allocations: 39.88 kB / 0.935 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.6231, allocations: 215.1 kB / 0.9352 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.6233, allocations: 94.56 kB / 0.9353 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.6235, allocations: 103.6 kB / 0.9354 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.6237, allocations: 71.69 kB / 0.9355 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.6237, allocations: 8 kB / 0.9355 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.714e-05/0.6237, allocations: 12 kB / 0.9355 GB, free: 6.75 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.6238, allocations: 35.8 kB / 0.9355 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.6239, allocations: 71.66 kB / 0.9356 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.6241, allocations: 154 kB / 0.9357 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6241, allocations: 0 / 0.9357 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6241, allocations: 0 / 0.9357 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.6241, allocations: 4 kB / 0.9357 GB, free: 6.492 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.0005874/0.6247, allocations: 443 kB / 0.9362 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.6248, allocations: 11.97 kB / 0.9362 GB, free: 6 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.6248, allocations: 15.81 kB / 0.9362 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.6251, allocations: 263 kB / 0.9364 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.6252, allocations: 12.23 kB / 0.9364 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.6252, allocations: 12 kB / 0.9365 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.6254, allocations: 168.7 kB / 0.9366 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.6254, allocations: 4 kB / 0.9366 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.6255, allocations: 8 kB / 0.9366 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.6255, allocations: 0 / 0.9366 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.6256, allocations: 75.83 kB / 0.9367 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.6264, allocations: 1.137 MB / 0.9378 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 7.235e-05/0.6265, allocations: 173.1 kB / 0.938 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.6265, allocations: 80.14 kB / 0.938 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.6266, allocations: 87.22 kB / 0.9381 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.6266, allocations: 105.8 kB / 0.9382 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.6266, allocations: 0 / 0.9382 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 7.832e-05/0.6267, allocations: 41.52 kB / 0.9383 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.6268, allocations: 110.8 kB / 0.9384 GB, free: 3.527 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.627, allocations: 248.9 kB / 0.9386 GB, free: 3.281 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.627, allocations: 25.7 kB / 0.9386 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.6271, allocations: 139.9 kB / 0.9388 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.6272, allocations: 0 / 0.9388 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.6272, allocations: 17.72 kB / 0.9388 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6273, allocations: 326.8 kB / 0.9391 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.6273, allocations: 19.92 kB / 0.9391 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.488e-05/0.6274, allocations: 63.72 kB / 0.9392 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.6274, allocations: 48.23 kB / 0.9392 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6275, allocations: 0 / 0.9392 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001457/0.6276, allocations: 97.3 kB / 0.9393 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.6276, allocations: 7.938 kB / 0.9393 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.6276, allocations: 4 kB / 0.9393 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6277, allocations: 0 / 0.9393 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.6277, allocations: 8 kB / 0.9393 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6277, allocations: 0 / 0.9393 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.933e-05/0.6278, allocations: 15.84 kB / 0.9394 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.6278, allocations: 3.938 kB / 0.9394 GB, free: 2.445 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.0001103/0.628, allocations: 215.6 kB / 0.9396 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.628, allocations: 120.7 kB / 0.9397 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.319e-05/0.6281, allocations: 121.8 kB / 0.9398 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-05/0.6281, allocations: 184.2 kB / 0.94 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.679e-05/0.6282, allocations: 109 kB / 0.9401 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.6283, allocations: 193.9 kB / 0.9403 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/0.6284, allocations: 188.2 kB / 0.9404 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.6285, allocations: 105 kB / 0.9405 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.6285, allocations: 184.2 kB / 0.9407 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.212e-05/0.6286, allocations: 259.5 kB / 0.941 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001561/0.6288, allocations: 407 kB / 0.9414 GB, free: 296 kB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.601e-05/0.6289, allocations: 104.9 kB / 0.9415 GB, free: 184 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001667/0.629, allocations: 176.5 kB / 0.9416 GB, free: 8 kB / 0.7012 GB Notification: Performance of Backend: time 2.31e-07/0.629, allocations: 0 / 0.9416 GB, free: 8 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.6294, allocations: 94.44 kB / 0.9417 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of SimCode: time 0.0008955/0.6303, allocations: 1.065 MB / 0.9428 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of Templates: time 0.004663/0.635, allocations: 1.946 MB / 0.9447 GB, free: 12.88 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)