Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007698/0.007698, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.12/1.12, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.467/1.467, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008597/0.0008598, allocations: 14.22 kB / 0.6744 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.182, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.5001/0.6821, allocations: 161.8 MB / 0.946 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004395/0.6866, allocations: 5.619 MB / 0.9515 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.6868, allocations: 8.219 kB / 0.9515 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.6871, allocations: 75.25 kB / 0.9515 GB, free: 492 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.6872, allocations: 58 kB / 0.9516 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.68e-05/0.6873, allocations: 27.7 kB / 0.9516 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.6876, allocations: 255.1 kB / 0.9519 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.6878, allocations: 88.25 kB / 0.9519 GB, free: 404 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.688, allocations: 80.08 kB / 0.952 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.6881, allocations: 62.7 kB / 0.9521 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.6882, allocations: 2.312 kB / 0.9521 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.6882, allocations: 6.156 kB / 0.9521 GB, free: 388 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.6882, allocations: 19.7 kB / 0.9521 GB, free: 388 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.6883, allocations: 83.89 kB / 0.9522 GB, free: 356 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.6885, allocations: 148.4 kB / 0.9523 GB, free: 344 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.6885, allocations: 0 / 0.9523 GB, free: 344 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6885, allocations: 0.6875 kB / 0.9523 GB, free: 344 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.6885, allocations: 0 / 0.9523 GB, free: 344 kB / 0.7169 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.0004862/0.689, allocations: 407.8 kB / 0.9527 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.689, allocations: 9.844 kB / 0.9527 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.6891, allocations: 50.27 kB / 0.9528 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.6891, allocations: 22.03 kB / 0.9528 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.6894, allocations: 238.7 kB / 0.953 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.6894, allocations: 10.39 kB / 0.953 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.6894, allocations: 12.53 kB / 0.953 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.6897, allocations: 177.1 kB / 0.9532 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.6897, allocations: 0.9062 kB / 0.9532 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.6897, allocations: 5.812 kB / 0.9532 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.6898, allocations: 2.594 kB / 0.9532 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.6899, allocations: 69.98 kB / 0.9533 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008077/0.6907, allocations: 1.148 MB / 0.9544 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.85e-05/0.6908, allocations: 173.9 kB / 0.9546 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.6908, allocations: 80.14 kB / 0.9547 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.6908, allocations: 79.75 kB / 0.9547 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.6909, allocations: 115 kB / 0.9548 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.6909, allocations: 0.6562 kB / 0.9548 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.598e-05/0.691, allocations: 41.77 kB / 0.9549 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.6911, allocations: 189 kB / 0.9551 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.6914, allocations: 248.5 kB / 0.9553 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.6914, allocations: 29.89 kB / 0.9553 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.691e-05/0.6915, allocations: 139.5 kB / 0.9555 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.6915, allocations: 0.5312 kB / 0.9555 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.6915, allocations: 11.34 kB / 0.9555 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6916, allocations: 327.1 kB / 0.9558 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.6917, allocations: 10.59 kB / 0.9558 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/0.6917, allocations: 69.25 kB / 0.9559 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.011e-05/0.6918, allocations: 53.36 kB / 0.9559 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.6918, allocations: 0.5 kB / 0.9559 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001726/0.692, allocations: 90.17 kB / 0.956 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.692, allocations: 4.938 kB / 0.956 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.692, allocations: 1.25 kB / 0.956 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.6921, allocations: 2.312 kB / 0.956 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.6921, allocations: 7.25 kB / 0.956 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.6921, allocations: 4.281 kB / 0.956 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.663e-05/0.6922, allocations: 17.03 kB / 0.956 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.6922, allocations: 6.406 kB / 0.956 GB, free: 13.08 MB / 0.7325 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.0001153/0.6923, allocations: 201.5 kB / 0.9562 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.6924, allocations: 126.9 kB / 0.9564 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.572e-05/0.6925, allocations: 120.4 kB / 0.9565 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.061e-05/0.6926, allocations: 180.8 kB / 0.9566 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.703e-05/0.6926, allocations: 181.4 kB / 0.9568 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-05/0.6927, allocations: 187.8 kB / 0.957 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.693, allocations: 450.1 kB / 0.9574 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.275e-05/0.693, allocations: 106 kB / 0.9575 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.693, allocations: 106.2 kB / 0.9576 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-05/0.6931, allocations: 185 kB / 0.9578 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.6932, allocations: 183.8 kB / 0.958 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.102e-05/0.6932, allocations: 180.8 kB / 0.9581 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-05/0.6933, allocations: 177.5 kB / 0.9583 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.6934, allocations: 324.4 kB / 0.9586 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.279e-05/0.6935, allocations: 204.2 kB / 0.9588 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.62e-05/0.6936, allocations: 184.4 kB / 0.959 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.6937, allocations: 102.8 kB / 0.9591 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.6938, allocations: 180.7 kB / 0.9593 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.6938, allocations: 106.5 kB / 0.9594 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002046/0.694, allocations: 188.1 kB / 0.9595 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.694, allocations: 0 / 0.9595 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002524/0.6943, allocations: 20.25 kB / 0.9596 GB, free: 9.523 MB / 0.7325 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.000365/0.6946, allocations: 0.8251 MB / 0.9604 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.775e-05/0.6947, allocations: 30.06 kB / 0.9604 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6947, allocations: 0.625 kB / 0.9604 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.6948, allocations: 0.5 kB / 0.9604 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.6954, allocations: 0.5722 MB / 0.961 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.6972, allocations: 2.078 MB / 0.963 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.6975, allocations: 0.7146 MB / 0.9637 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.257e-05/0.6976, allocations: 29.27 kB / 0.9637 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.6976, allocations: 38.62 kB / 0.9638 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.6976, allocations: 1.531 kB / 0.9638 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04395/0.7416, allocations: 3.557 MB / 0.9672 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.7418, allocations: 185.8 kB / 0.9674 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.456, allocations: 1.281 kB / 0.9674 GB, free: 5.398 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)