Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_dev_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.001495/0.001495, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8782/0.8782, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.75 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.3696/0.5005, allocations: 166.1 MB / 0.7466 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005149/0.5057, allocations: 5.705 MB / 0.7522 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.5059, allocations: 6.656 kB / 0.7522 GB, free: 15.55 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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/IDEAS 3.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/IDEAS 3.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.000411/0.5063, allocations: 95.73 kB / 0.7523 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.5065, allocations: 61.58 kB / 0.7524 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.5066, allocations: 36.83 kB / 0.7524 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.5069, allocations: 214.5 kB / 0.7526 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.5071, allocations: 92.17 kB / 0.7527 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.5073, allocations: 99.95 kB / 0.7528 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.5074, allocations: 70.08 kB / 0.7529 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.5074, allocations: 14.62 kB / 0.7529 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.428e-05/0.5075, allocations: 7.531 kB / 0.7529 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.5075, allocations: 36.31 kB / 0.7529 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.5076, allocations: 65 kB / 0.753 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.5078, allocations: 154.1 kB / 0.7531 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5078, allocations: 0 / 0.7531 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5078, allocations: 0 / 0.7531 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.5078, allocations: 0 / 0.7531 GB, free: 14.95 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.0005337/0.5083, allocations: 444.4 kB / 0.7536 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5084, allocations: 14.69 kB / 0.7536 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.5084, allocations: 47.22 kB / 0.7536 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.5085, allocations: 23.3 kB / 0.7536 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.5087, allocations: 239.3 kB / 0.7539 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.5087, allocations: 9.141 kB / 0.7539 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.5088, allocations: 11.97 kB / 0.7539 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.509, allocations: 175.6 kB / 0.754 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.509, allocations: 0 / 0.754 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.509, allocations: 6.469 kB / 0.7541 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.509, allocations: 4.719 kB / 0.7541 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.5091, allocations: 74.52 kB / 0.7541 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007309/0.5099, allocations: 1.141 MB / 0.7552 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7e-05/0.51, allocations: 178.5 kB / 0.7554 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.51, allocations: 80.14 kB / 0.7555 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.51, allocations: 75.28 kB / 0.7556 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.5101, allocations: 116.6 kB / 0.7557 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 2.335e-06/0.5101, allocations: 3.984 kB / 0.7557 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.017e-05/0.5101, allocations: 41.55 kB / 0.7557 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.5102, allocations: 182.1 kB / 0.7559 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.5104, allocations: 250.8 kB / 0.7561 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.5105, allocations: 31.89 kB / 0.7562 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.5106, allocations: 127.7 kB / 0.7563 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.5106, allocations: 3.547 kB / 0.7563 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.5106, allocations: 18.06 kB / 0.7563 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.5107, allocations: 331.9 kB / 0.7566 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.885e-05/0.5107, allocations: 6.969 kB / 0.7566 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-05/0.5108, allocations: 72.66 kB / 0.7567 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.645e-05/0.5108, allocations: 55.16 kB / 0.7567 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5108, allocations: 0 / 0.7567 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000137/0.511, allocations: 88.78 kB / 0.7568 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.511, allocations: 4.906 kB / 0.7568 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.511, allocations: 2.844 kB / 0.7568 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.511, allocations: 0 / 0.7568 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.812e-05/0.5111, allocations: 14.64 kB / 0.7569 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5111, allocations: 4.156 kB / 0.7569 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.5112, allocations: 19.84 kB / 0.7569 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.5112, allocations: 0 / 0.7569 GB, free: 11.23 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.0001061/0.5113, allocations: 210 kB / 0.7571 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.5114, allocations: 124.5 kB / 0.7572 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.5114, allocations: 115.2 kB / 0.7573 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.201e-05/0.5115, allocations: 191.1 kB / 0.7575 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-05/0.5115, allocations: 180.2 kB / 0.7577 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.744e-05/0.5116, allocations: 180.4 kB / 0.7578 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.5118, allocations: 466.2 kB / 0.7583 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.834e-05/0.5119, allocations: 101 kB / 0.7584 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.5119, allocations: 104.9 kB / 0.7585 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.741e-05/0.512, allocations: 181.6 kB / 0.7586 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/0.512, allocations: 187.2 kB / 0.7588 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.377e-05/0.5121, allocations: 180.2 kB / 0.759 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.696e-05/0.5121, allocations: 177.8 kB / 0.7592 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.5122, allocations: 326.2 kB / 0.7595 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.5123, allocations: 195.5 kB / 0.7597 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.5124, allocations: 182.9 kB / 0.7598 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.5125, allocations: 109 kB / 0.7599 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.5126, allocations: 182.5 kB / 0.7601 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.5126, allocations: 103.7 kB / 0.7602 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001454/0.5127, allocations: 191.4 kB / 0.7604 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5127, allocations: 0 / 0.7604 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002436/0.513, allocations: 22.05 kB / 0.7604 GB, free: 7.527 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.0003037/0.5133, allocations: 0.8209 MB / 0.7612 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.806e-05/0.5134, allocations: 26.05 kB / 0.7612 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5134, allocations: 6.75 kB / 0.7613 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.5134, allocations: 0 / 0.7613 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.514, allocations: 0.498 MB / 0.7617 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.5156, allocations: 2.041 MB / 0.7637 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.5158, allocations: 0.7148 MB / 0.7644 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.206e-05/0.5159, allocations: 23.89 kB / 0.7645 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.516, allocations: 43.33 kB / 0.7645 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.516, allocations: 0 / 0.7645 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.5349, allocations: 3.817 MB / 0.7682 GB, free: 176 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/7.506, allocations: 6.953 kB / 0.7682 GB, free: 172 kB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)