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.004665/0.004665, allocations: 100.6 kB / 15.73 MB, free: 6.066 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.001319/0.001319, allocations: 195.8 kB / 16.67 MB, free: 5.969 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8582/0.8582, allocations: 135.6 MB / 426.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003017/0.003017, allocations: 68.69 kB / 0.5857 GB, free: 21.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1505, allocations: 81.03 MB / 0.6649 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.459/0.6095, allocations: 166.1 MB / 0.827 GB, free: 448 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005967/0.6155, allocations: 5.702 MB / 0.8326 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.6157, allocations: 7.531 kB / 0.8326 GB, free: 11.82 MB / 0.6075 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.000363/0.6161, allocations: 99.62 kB / 0.8327 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.6163, allocations: 55.09 kB / 0.8328 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.6164, allocations: 41.27 kB / 0.8328 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.6167, allocations: 213.2 kB / 0.833 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.6169, allocations: 91.83 kB / 0.8331 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.6171, allocations: 101.1 kB / 0.8332 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.6172, allocations: 76.5 kB / 0.8333 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.6172, allocations: 10.19 kB / 0.8333 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.32e-05/0.6173, allocations: 9.688 kB / 0.8333 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.6173, allocations: 27.3 kB / 0.8333 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.245e-05/0.6174, allocations: 80.61 kB / 0.8334 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.6176, allocations: 158.4 kB / 0.8335 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6176, allocations: 0 / 0.8335 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6176, allocations: 0 / 0.8335 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.6176, allocations: 0 / 0.8335 GB, free: 11.19 MB / 0.6075 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.0005858/0.6182, allocations: 444.5 kB / 0.834 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.6183, allocations: 10.98 kB / 0.834 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.721e-05/0.6183, allocations: 47.61 kB / 0.834 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.6184, allocations: 23.55 kB / 0.834 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.6187, allocations: 255.2 kB / 0.8343 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.6187, allocations: 8.703 kB / 0.8343 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.6188, allocations: 12.25 kB / 0.8343 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.619, allocations: 178.9 kB / 0.8345 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.619, allocations: 2.094 kB / 0.8345 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.619, allocations: 6.25 kB / 0.8345 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.6191, allocations: 3.031 kB / 0.8345 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.6192, allocations: 75.06 kB / 0.8346 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009532/0.6201, allocations: 1.15 MB / 0.8357 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.476e-05/0.6202, allocations: 177.1 kB / 0.8358 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.52e-05/0.6203, allocations: 84.08 kB / 0.8359 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.6203, allocations: 75.28 kB / 0.836 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.171e-05/0.6204, allocations: 108.8 kB / 0.8361 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.6204, allocations: 0 / 0.8361 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.489e-05/0.6205, allocations: 47.98 kB / 0.8361 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.708e-05/0.6206, allocations: 178.1 kB / 0.8363 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.6209, allocations: 249.9 kB / 0.8366 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.6209, allocations: 25.7 kB / 0.8366 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.621, allocations: 137.7 kB / 0.8367 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/0.621, allocations: 3.984 kB / 0.8367 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.6211, allocations: 25.36 kB / 0.8367 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6212, allocations: 325.6 kB / 0.837 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.6213, allocations: 15.31 kB / 0.8371 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.6213, allocations: 61.25 kB / 0.8371 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.568e-05/0.6214, allocations: 56.94 kB / 0.8372 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.6214, allocations: 3.938 kB / 0.8372 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001445/0.6216, allocations: 87.66 kB / 0.8373 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.6216, allocations: 4.969 kB / 0.8373 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6216, allocations: 2.875 kB / 0.8373 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.6216, allocations: 4 kB / 0.8373 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.772e-05/0.6217, allocations: 10.86 kB / 0.8373 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.6217, allocations: 3.312 kB / 0.8373 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/0.6218, allocations: 16.73 kB / 0.8373 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.6218, allocations: 6.625 kB / 0.8373 GB, free: 7.453 MB / 0.6075 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.0001492/0.6219, allocations: 210.6 kB / 0.8375 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.622, allocations: 120.7 kB / 0.8376 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.931e-05/0.6221, allocations: 124.7 kB / 0.8377 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-05/0.6222, allocations: 183.4 kB / 0.8379 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-05/0.6223, allocations: 180.4 kB / 0.8381 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.742e-05/0.6224, allocations: 184.2 kB / 0.8383 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.6227, allocations: 452.9 kB / 0.8387 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.118e-05/0.6227, allocations: 103.7 kB / 0.8388 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.6228, allocations: 112.9 kB / 0.8389 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.093e-05/0.6229, allocations: 180.2 kB / 0.8391 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/0.623, allocations: 186.9 kB / 0.8393 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.949e-05/0.6231, allocations: 176.3 kB / 0.8394 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.127e-05/0.6231, allocations: 176.3 kB / 0.8396 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.6233, allocations: 332.2 kB / 0.8399 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.6234, allocations: 194.8 kB / 0.8401 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.6235, allocations: 180.3 kB / 0.8403 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.6237, allocations: 107 kB / 0.8404 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.6238, allocations: 188.2 kB / 0.8405 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.6238, allocations: 103.9 kB / 0.8406 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001819/0.624, allocations: 185.2 kB / 0.8408 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.624, allocations: 3.938 kB / 0.8408 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002475/0.6243, allocations: 20.16 kB / 0.8408 GB, free: 3.746 MB / 0.6075 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.0004516/0.6247, allocations: 0.8279 MB / 0.8417 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.163e-05/0.6248, allocations: 24.14 kB / 0.8417 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6248, allocations: 0 / 0.8417 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.6248, allocations: 0 / 0.8417 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.6255, allocations: 0.499 MB / 0.8422 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.6274, allocations: 2.043 MB / 0.8442 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.6278, allocations: 0.7136 MB / 0.8449 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.785e-05/0.6279, allocations: 21.97 kB / 0.8449 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.628, allocations: 43.14 kB / 0.8449 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.628, allocations: 0 / 0.8449 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.6514, allocations: 3.87 MB / 0.8487 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/8.401, allocations: 3.594 kB / 0.8487 GB, free: 13.98 MB / 0.6231 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)