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.0007978/0.0007978, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005051/0.005051, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002967/0.002967, allocations: 278.4 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9264/0.9264, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004718, allocations: 10.88 kB / 0.5986 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1678, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.5301/0.6979, allocations: 161.8 MB / 0.8431 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006075/0.704, allocations: 5.622 MB / 0.8486 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.7044, allocations: 7.938 kB / 0.8486 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004748/0.7049, allocations: 81.08 kB / 0.8487 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.7053, allocations: 51.12 kB / 0.8487 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.7055, allocations: 30.56 kB / 0.8487 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004214/0.7059, allocations: 254.3 kB / 0.849 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.7062, allocations: 81.97 kB / 0.8491 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.7064, allocations: 82.39 kB / 0.8491 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.7066, allocations: 64.3 kB / 0.8492 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.7067, allocations: 5.094 kB / 0.8492 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.832e-05/0.7067, allocations: 0 / 0.8492 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.7068, allocations: 16.12 kB / 0.8492 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.7069, allocations: 87.53 kB / 0.8493 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.7071, allocations: 147 kB / 0.8494 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7071, allocations: 3.938 kB / 0.8494 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7071, allocations: 0 / 0.8494 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.7071, allocations: 0 / 0.8494 GB, free: 15.13 MB / 0.5762 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.0006504/0.7078, allocations: 417.3 kB / 0.8498 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.7079, allocations: 10.44 kB / 0.8499 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.637e-05/0.7079, allocations: 24.23 kB / 0.8499 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.7083, allocations: 238.2 kB / 0.8501 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.7083, allocations: 8.859 kB / 0.8501 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.7084, allocations: 13.12 kB / 0.8501 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.7086, allocations: 169.6 kB / 0.8503 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.7086, allocations: 2.906 kB / 0.8503 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.7087, allocations: 4 kB / 0.8503 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.7087, allocations: 7.25 kB / 0.8503 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.7088, allocations: 75.09 kB / 0.8504 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.7098, allocations: 1.15 MB / 0.8515 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.691e-05/0.7099, allocations: 171.6 kB / 0.8517 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.7099, allocations: 80.14 kB / 0.8517 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.71, allocations: 79.22 kB / 0.8518 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.71, allocations: 113.8 kB / 0.8519 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.71, allocations: 0 / 0.8519 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.373e-05/0.7101, allocations: 48.39 kB / 0.852 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/0.7102, allocations: 182.1 kB / 0.8521 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.7105, allocations: 245 kB / 0.8524 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.7105, allocations: 28.64 kB / 0.8524 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/0.7106, allocations: 135.7 kB / 0.8525 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.7106, allocations: 0 / 0.8525 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.7106, allocations: 16.66 kB / 0.8525 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.7108, allocations: 321.7 kB / 0.8529 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.7108, allocations: 17.02 kB / 0.8529 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.7109, allocations: 69.47 kB / 0.8529 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.227e-05/0.7109, allocations: 48.92 kB / 0.853 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.711, allocations: 2.156 kB / 0.853 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002049/0.7112, allocations: 91.86 kB / 0.8531 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.7112, allocations: 5.25 kB / 0.8531 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7112, allocations: 0 / 0.8531 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.7112, allocations: 2.844 kB / 0.8531 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.7113, allocations: 10.19 kB / 0.8531 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.7113, allocations: 2.844 kB / 0.8531 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.525e-05/0.7114, allocations: 12.78 kB / 0.8531 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.7114, allocations: 2.875 kB / 0.8531 GB, free: 11.49 MB / 0.5762 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.0001713/0.7116, allocations: 205.5 kB / 0.8533 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/0.7117, allocations: 132.2 kB / 0.8534 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.514e-05/0.7118, allocations: 120.1 kB / 0.8535 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.181e-05/0.7119, allocations: 186.8 kB / 0.8537 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.475e-05/0.712, allocations: 184.3 kB / 0.8539 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.022e-05/0.712, allocations: 176.3 kB / 0.8541 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.7124, allocations: 451.2 kB / 0.8545 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.077e-05/0.7124, allocations: 105 kB / 0.8546 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.7125, allocations: 116.8 kB / 0.8547 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.24e-05/0.7126, allocations: 183.2 kB / 0.8549 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/0.7126, allocations: 176.3 kB / 0.855 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.975e-05/0.7127, allocations: 184.3 kB / 0.8552 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-05/0.7128, allocations: 178.8 kB / 0.8554 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.713, allocations: 326.9 kB / 0.8557 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.7131, allocations: 199.9 kB / 0.8559 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.7132, allocations: 183.3 kB / 0.8561 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.7134, allocations: 105 kB / 0.8562 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.7134, allocations: 183.1 kB / 0.8563 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.7135, allocations: 105 kB / 0.8564 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001747/0.7137, allocations: 187.9 kB / 0.8566 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7137, allocations: 0 / 0.8566 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000269/0.7139, allocations: 18.88 kB / 0.8566 GB, free: 7.785 MB / 0.5762 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.000122/0.7141, allocations: 171 kB / 0.8568 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.862e-05/0.7142, allocations: 23.05 kB / 0.8568 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7142, allocations: 320 / 0.8568 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.7142, allocations: 8 kB / 0.8568 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.7149, allocations: 0.579 MB / 0.8574 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.7154, allocations: 356.8 kB / 0.8577 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.7157, allocations: 0.716 MB / 0.8584 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.362e-05/0.7158, allocations: 27.34 kB / 0.8585 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.7158, allocations: 13.41 kB / 0.8585 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.7158, allocations: 0 / 0.8585 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of Templates: time 0.004863/0.7207, allocations: 1.853 MB / 0.8603 GB, free: 5.105 MB / 0.5762 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)