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.009423/0.009423, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.001942/0.001942, allocations: 197.2 kB / 16.68 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.243/2.243, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.432/1.432, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002891/0.002891, allocations: 58.06 kB / 0.5808 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2564, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.9845/1.241, allocations: 166.1 MB / 0.8214 GB, free: 7 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009596/1.251, allocations: 5.701 MB / 0.8269 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003743/1.251, allocations: 6.438 kB / 0.827 GB, free: 2.383 MB / 0.5919 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.0006709/1.252, allocations: 96.56 kB / 0.827 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000321/1.252, allocations: 65.19 kB / 0.8271 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/1.252, allocations: 29.31 kB / 0.8271 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004499/1.253, allocations: 215.2 kB / 0.8273 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/1.253, allocations: 89.39 kB / 0.8274 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/1.253, allocations: 104.6 kB / 0.8275 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/1.254, allocations: 72.91 kB / 0.8276 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/1.254, allocations: 9.969 kB / 0.8276 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.855e-05/1.254, allocations: 14.09 kB / 0.8276 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.9e-05/1.254, allocations: 31.11 kB / 0.8276 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/1.254, allocations: 70.8 kB / 0.8277 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003338/1.254, allocations: 157.8 kB / 0.8279 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.254, allocations: 2.75 kB / 0.8279 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.064e-06/1.254, allocations: 0 / 0.8279 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.254, allocations: 0 / 0.8279 GB, free: 1.766 MB / 0.5919 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.0008926/1.255, allocations: 448.1 kB / 0.8283 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/1.255, allocations: 13.58 kB / 0.8283 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.801e-05/1.255, allocations: 49.44 kB / 0.8284 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/1.255, allocations: 21.56 kB / 0.8284 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/1.256, allocations: 251.9 kB / 0.8286 GB, free: 1 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/1.256, allocations: 5.328 kB / 0.8286 GB, free: 1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/1.256, allocations: 11.09 kB / 0.8286 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/1.256, allocations: 174.1 kB / 0.8288 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/1.256, allocations: 6.812 kB / 0.8288 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/1.257, allocations: 4 kB / 0.8288 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/1.257, allocations: 2.719 kB / 0.8288 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/1.257, allocations: 75.11 kB / 0.8289 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/1.258, allocations: 1.146 MB / 0.83 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/1.259, allocations: 179.6 kB / 0.8302 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.548e-05/1.259, allocations: 80.14 kB / 0.8303 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.313e-05/1.259, allocations: 75.28 kB / 0.8303 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.895e-05/1.259, allocations: 112.7 kB / 0.8304 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/1.259, allocations: 0 / 0.8304 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001381/1.259, allocations: 44.97 kB / 0.8305 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/1.259, allocations: 182 kB / 0.8306 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/1.26, allocations: 248 kB / 0.8309 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/1.26, allocations: 25.7 kB / 0.8309 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/1.26, allocations: 133.8 kB / 0.831 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/1.26, allocations: 4 kB / 0.831 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/1.26, allocations: 23.41 kB / 0.8311 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000224/1.26, allocations: 327.2 kB / 0.8314 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.183e-05/1.26, allocations: 13.66 kB / 0.8314 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/1.26, allocations: 68.19 kB / 0.8315 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/1.26, allocations: 50.14 kB / 0.8315 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.261, allocations: 3.938 kB / 0.8315 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002496/1.261, allocations: 87.52 kB / 0.8316 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.261, allocations: 11.97 kB / 0.8316 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.261, allocations: 0 / 0.8316 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.261, allocations: 2.25 kB / 0.8316 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/1.261, allocations: 7.969 kB / 0.8316 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.261, allocations: 3.938 kB / 0.8316 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/1.261, allocations: 27.73 kB / 0.8316 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/1.261, allocations: 2.531 kB / 0.8316 GB, free: 14.02 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.0002203/1.261, allocations: 204.1 kB / 0.8318 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/1.262, allocations: 128.6 kB / 0.832 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/1.262, allocations: 117.7 kB / 0.8321 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001182/1.262, allocations: 184.2 kB / 0.8322 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000139/1.262, allocations: 180.4 kB / 0.8324 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001171/1.262, allocations: 186.3 kB / 0.8326 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/1.263, allocations: 453.2 kB / 0.833 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-05/1.263, allocations: 108.9 kB / 0.8331 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/1.263, allocations: 107.4 kB / 0.8332 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/1.263, allocations: 176.3 kB / 0.8334 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/1.263, allocations: 184.2 kB / 0.8336 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001115/1.263, allocations: 178.8 kB / 0.8337 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001276/1.263, allocations: 188.2 kB / 0.8339 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/1.264, allocations: 321.6 kB / 0.8342 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/1.264, allocations: 197.3 kB / 0.8344 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/1.264, allocations: 176.3 kB / 0.8346 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/1.264, allocations: 111.7 kB / 0.8347 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/1.264, allocations: 180.3 kB / 0.8349 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.489e-05/1.264, allocations: 108.9 kB / 0.835 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002862/1.265, allocations: 183.4 kB / 0.8351 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.41e-07/1.265, allocations: 0 / 0.8351 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004721/1.265, allocations: 19.91 kB / 0.8352 GB, free: 10.34 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.0007392/1.266, allocations: 0.8255 MB / 0.836 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001446/1.266, allocations: 24.86 kB / 0.836 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.266, allocations: 3.938 kB / 0.836 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/1.266, allocations: 0 / 0.836 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/1.267, allocations: 0.5024 MB / 0.8365 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/1.271, allocations: 2.044 MB / 0.8385 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/1.271, allocations: 0.7236 MB / 0.8392 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001255/1.271, allocations: 18.58 kB / 0.8392 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/1.271, allocations: 50.92 kB / 0.8393 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/1.271, allocations: 0 / 0.8393 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03892/1.31, allocations: 3.851 MB / 0.843 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/13.26, allocations: 7.328 kB / 0.843 GB, free: 4.582 MB / 0.6075 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)