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.005796/0.005796, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001395/0.001395, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7577/0.7577, allocations: 132.2 MB / 422.7 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 62.12 kB / 0.5808 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1404, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.4957/0.6362, allocations: 166.1 MB / 0.8214 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005429/0.6417, allocations: 5.695 MB / 0.8269 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002383/0.6419, allocations: 9.031 kB / 0.8269 GB, free: 2.426 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.0004085/0.6423, allocations: 96.52 kB / 0.827 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.6425, allocations: 63.2 kB / 0.8271 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.6427, allocations: 33.67 kB / 0.8271 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.6429, allocations: 218 kB / 0.8273 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.6431, allocations: 93.08 kB / 0.8274 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.6433, allocations: 94.23 kB / 0.8275 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.6434, allocations: 83.47 kB / 0.8276 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.6434, allocations: 14.06 kB / 0.8276 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 1.922e-05/0.6435, allocations: 9.938 kB / 0.8276 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.6435, allocations: 25.08 kB / 0.8276 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.3e-05/0.6436, allocations: 72.83 kB / 0.8277 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.6438, allocations: 156.5 kB / 0.8279 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6438, allocations: 0 / 0.8279 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6438, allocations: 0 / 0.8279 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.6438, allocations: 0 / 0.8279 GB, free: 1.801 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.0005166/0.6443, allocations: 436.4 kB / 0.8283 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.6444, allocations: 14.22 kB / 0.8283 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.6444, allocations: 51.2 kB / 0.8283 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.6444, allocations: 21.78 kB / 0.8284 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.6447, allocations: 241.4 kB / 0.8286 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.6447, allocations: 8.891 kB / 0.8286 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.6448, allocations: 10.19 kB / 0.8286 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.645, allocations: 177.5 kB / 0.8288 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.645, allocations: 3.938 kB / 0.8288 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.645, allocations: 7.031 kB / 0.8288 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.645, allocations: 2.781 kB / 0.8288 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.889e-05/0.6451, allocations: 75.09 kB / 0.8289 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007598/0.6459, allocations: 1.146 MB / 0.83 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.901e-05/0.646, allocations: 181 kB / 0.8302 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.646, allocations: 83.02 kB / 0.8302 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.646, allocations: 75.28 kB / 0.8303 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.6461, allocations: 109.8 kB / 0.8304 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.6461, allocations: 0 / 0.8304 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.45e-05/0.6462, allocations: 43.61 kB / 0.8305 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.6463, allocations: 182 kB / 0.8306 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.6465, allocations: 259.5 kB / 0.8309 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.6465, allocations: 25.7 kB / 0.8309 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.6466, allocations: 134 kB / 0.831 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.6466, allocations: 4 kB / 0.831 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.6466, allocations: 22.77 kB / 0.8311 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.6468, allocations: 323.4 kB / 0.8314 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.6468, allocations: 9.781 kB / 0.8314 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.073e-05/0.6468, allocations: 61.5 kB / 0.8314 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.172e-05/0.6469, allocations: 57.06 kB / 0.8315 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6469, allocations: 3.938 kB / 0.8315 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001385/0.6471, allocations: 86.97 kB / 0.8316 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.6471, allocations: 5.75 kB / 0.8316 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.6471, allocations: 2.094 kB / 0.8316 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.6471, allocations: 2.844 kB / 0.8316 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.6472, allocations: 11.39 kB / 0.8316 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.6472, allocations: 3.938 kB / 0.8316 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.97e-05/0.6473, allocations: 12.75 kB / 0.8316 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.6473, allocations: 2.281 kB / 0.8316 GB, free: 14.08 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.0001178/0.6474, allocations: 219 kB / 0.8318 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.6475, allocations: 116.2 kB / 0.8319 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.6475, allocations: 125.2 kB / 0.832 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.368e-05/0.6476, allocations: 176.3 kB / 0.8322 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.137e-05/0.6476, allocations: 180.4 kB / 0.8324 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.848e-05/0.6477, allocations: 190.5 kB / 0.8326 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.648, allocations: 455 kB / 0.833 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.682e-05/0.648, allocations: 107.7 kB / 0.8331 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.6481, allocations: 101 kB / 0.8332 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.174e-05/0.6481, allocations: 184.2 kB / 0.8334 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.897e-05/0.6482, allocations: 182.3 kB / 0.8336 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.163e-05/0.6482, allocations: 176.3 kB / 0.8337 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.465e-05/0.6483, allocations: 186.8 kB / 0.8339 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.6484, allocations: 325.2 kB / 0.8342 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/0.6485, allocations: 191 kB / 0.8344 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.15e-05/0.6486, allocations: 183 kB / 0.8346 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.6487, allocations: 116.8 kB / 0.8347 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.6488, allocations: 182.9 kB / 0.8349 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.6488, allocations: 108.9 kB / 0.835 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001605/0.649, allocations: 187.8 kB / 0.8351 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.649, allocations: 0 / 0.8351 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002333/0.6493, allocations: 17.84 kB / 0.8352 GB, free: 10.38 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.0003751/0.6496, allocations: 0.8237 MB / 0.836 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.676e-05/0.6497, allocations: 23.98 kB / 0.836 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6497, allocations: 0 / 0.836 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.6498, allocations: 0 / 0.836 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.6503, allocations: 0.4964 MB / 0.8365 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.6522, allocations: 2.065 MB / 0.8385 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.6525, allocations: 0.7094 MB / 0.8392 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.775e-05/0.6526, allocations: 26.22 kB / 0.8392 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.6526, allocations: 42.73 kB / 0.8392 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.6526, allocations: 0 / 0.8392 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.6749, allocations: 3.909 MB / 0.8431 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.284/7.959, allocations: 6.984 kB / 0.8431 GB, free: 4.598 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 & /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)