Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_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.0009984/0.0009984, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00101/0.00101, allocations: 193.7 kB / 16.25 MB, free: 6.621 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.241/1.241, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7116/0.7116, allocations: 132.2 MB / 422.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 64.16 kB / 0.5014 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.135, allocations: 80.2 MB / 0.5797 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.3707/0.5058, allocations: 163.8 MB / 0.7397 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004447/0.5103, allocations: 5.651 MB / 0.7452 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.5104, allocations: 4.781 kB / 0.7452 GB, free: 6.906 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/IDEAS 3.0.0/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/IDEAS 3.0.0/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.000368/0.5108, allocations: 86.34 kB / 0.7453 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.511, allocations: 50.47 kB / 0.7453 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.557e-05/0.5111, allocations: 28.77 kB / 0.7453 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.5113, allocations: 216.5 kB / 0.7456 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.5115, allocations: 91.58 kB / 0.7456 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.5117, allocations: 100.9 kB / 0.7457 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.5118, allocations: 77.7 kB / 0.7458 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.5118, allocations: 11 kB / 0.7458 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.012e-05/0.5118, allocations: 9.625 kB / 0.7458 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.5119, allocations: 27.58 kB / 0.7459 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.5119, allocations: 66.27 kB / 0.7459 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.5121, allocations: 156.3 kB / 0.7461 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5121, allocations: 13.31 kB / 0.7461 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5121, allocations: 0 / 0.7461 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.5121, allocations: 0 / 0.7461 GB, free: 6.441 MB / 0.5606 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.0004629/0.5126, allocations: 439.1 kB / 0.7465 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.5126, allocations: 9.625 kB / 0.7465 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.5127, allocations: 45.12 kB / 0.7466 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.5127, allocations: 27.7 kB / 0.7466 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.5129, allocations: 239.7 kB / 0.7468 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.5129, allocations: 6.797 kB / 0.7468 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.513, allocations: 18.78 kB / 0.7468 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.5132, allocations: 168.1 kB / 0.747 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.5132, allocations: 1.344 kB / 0.747 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.5132, allocations: 9.344 kB / 0.747 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5132, allocations: 7.938 kB / 0.747 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.5133, allocations: 71.89 kB / 0.7471 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006823/0.514, allocations: 1.144 MB / 0.7482 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.2e-05/0.5141, allocations: 178.1 kB / 0.7484 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.5141, allocations: 80.14 kB / 0.7484 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.5141, allocations: 79.28 kB / 0.7485 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.5142, allocations: 107.2 kB / 0.7486 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5142, allocations: 0 / 0.7486 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.589e-05/0.5142, allocations: 45.75 kB / 0.7487 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.5143, allocations: 182 kB / 0.7488 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.5145, allocations: 248.4 kB / 0.7491 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.5145, allocations: 28.11 kB / 0.7491 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.5146, allocations: 137.2 kB / 0.7492 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-06/0.5146, allocations: 4 kB / 0.7492 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.5147, allocations: 21.38 kB / 0.7493 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.5148, allocations: 322.4 kB / 0.7496 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.5148, allocations: 18.44 kB / 0.7496 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.602e-05/0.5148, allocations: 66.11 kB / 0.7496 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.744e-05/0.5149, allocations: 51.86 kB / 0.7497 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5149, allocations: 0 / 0.7497 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001251/0.515, allocations: 92.23 kB / 0.7498 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.515, allocations: 6.75 kB / 0.7498 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.5151, allocations: 1.812 kB / 0.7498 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.5151, allocations: 2.969 kB / 0.7498 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.5151, allocations: 9.312 kB / 0.7498 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.5151, allocations: 3.109 kB / 0.7498 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.068e-05/0.5152, allocations: 16.66 kB / 0.7498 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.5152, allocations: 2.781 kB / 0.7498 GB, free: 2.914 MB / 0.5606 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 9.92e-05/0.5153, allocations: 220.7 kB / 0.75 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.5154, allocations: 122.4 kB / 0.7502 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.5154, allocations: 123.1 kB / 0.7503 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-05/0.5155, allocations: 182.7 kB / 0.7504 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.405e-05/0.5155, allocations: 176.3 kB / 0.7506 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.592e-05/0.5156, allocations: 186.4 kB / 0.7508 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.5158, allocations: 457.9 kB / 0.7512 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/0.5158, allocations: 104.9 kB / 0.7513 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.5159, allocations: 101 kB / 0.7514 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.201e-05/0.5159, allocations: 178.1 kB / 0.7516 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.516, allocations: 188.4 kB / 0.7518 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.462e-05/0.516, allocations: 182.8 kB / 0.7519 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.456e-05/0.5161, allocations: 184.2 kB / 0.7521 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.5162, allocations: 317.7 kB / 0.7524 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.5163, allocations: 199.4 kB / 0.7526 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.839e-05/0.5163, allocations: 183.3 kB / 0.7528 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.491e-05/0.5164, allocations: 112.9 kB / 0.7529 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.5165, allocations: 178.4 kB / 0.7531 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.5165, allocations: 101 kB / 0.7532 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001361/0.5166, allocations: 184.1 kB / 0.7533 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.232e-06/0.5167, allocations: 0 / 0.7533 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000224/0.5169, allocations: 28.55 kB / 0.7534 GB, free: 15.21 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.0002813/0.5172, allocations: 0.8211 MB / 0.7542 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.079e-05/0.5172, allocations: 24.55 kB / 0.7542 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5173, allocations: 3.938 kB / 0.7542 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.5173, allocations: 320 / 0.7542 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.5178, allocations: 0.5033 MB / 0.7547 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.5193, allocations: 2.065 MB / 0.7567 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.5195, allocations: 0.7216 MB / 0.7574 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.148e-05/0.5196, allocations: 17.67 kB / 0.7574 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.5197, allocations: 43.27 kB / 0.7575 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5197, allocations: 0 / 0.7575 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.128/1.647, allocations: 3.724 MB / 0.7611 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/1.648, allocations: 175.1 kB / 0.7613 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/3.514, allocations: 0 / 0.7613 GB, free: 8.656 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)