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.007893/0.007894, allocations: 98.42 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.002032/0.002032, allocations: 196.1 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 1.594/1.594, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8219/0.8219, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 68.33 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1487, allocations: 80.21 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.4964/0.6452, allocations: 166.1 MB / 0.8214 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004807/0.65, allocations: 5.704 MB / 0.8269 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.6502, allocations: 8.312 kB / 0.827 GB, free: 2.855 MB / 0.6387 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.0003676/0.6506, allocations: 92.52 kB / 0.827 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.6508, allocations: 61.56 kB / 0.8271 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.6509, allocations: 34.94 kB / 0.8271 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000262/0.6512, allocations: 214.7 kB / 0.8273 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.6514, allocations: 91.56 kB / 0.8274 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.6516, allocations: 99.7 kB / 0.8275 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.6517, allocations: 71.38 kB / 0.8276 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.6517, allocations: 9.438 kB / 0.8276 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 2.7e-05/0.6518, allocations: 10.19 kB / 0.8276 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.6518, allocations: 35.33 kB / 0.8276 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.6519, allocations: 67.25 kB / 0.8277 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.6521, allocations: 162.2 kB / 0.8279 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6521, allocations: 4.75 kB / 0.8279 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6521, allocations: 0.7188 kB / 0.8279 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.6521, allocations: 0 / 0.8279 GB, free: 2.844 MB / 0.6387 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.0004738/0.6526, allocations: 447 kB / 0.8283 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.6526, allocations: 10.73 kB / 0.8283 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.6527, allocations: 44.25 kB / 0.8283 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.6527, allocations: 23.44 kB / 0.8284 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.653, allocations: 245.8 kB / 0.8286 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.653, allocations: 14.08 kB / 0.8286 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.653, allocations: 15.41 kB / 0.8286 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.6532, allocations: 169.5 kB / 0.8288 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.6532, allocations: 0.9375 kB / 0.8288 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.6533, allocations: 5.859 kB / 0.8288 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.6533, allocations: 4.5 kB / 0.8288 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.6534, allocations: 68.34 kB / 0.8289 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007611/0.6542, allocations: 1.159 MB / 0.83 GB, free: 17.06 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.871e-05/0.6542, allocations: 172.7 kB / 0.8302 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.6543, allocations: 82.3 kB / 0.8302 GB, free: 16.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.6543, allocations: 76.12 kB / 0.8303 GB, free: 16.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.6544, allocations: 111.5 kB / 0.8304 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6544, allocations: 0 / 0.8304 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.568e-05/0.6545, allocations: 44.75 kB / 0.8305 GB, free: 16.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/0.6546, allocations: 189.5 kB / 0.8306 GB, free: 16.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.6548, allocations: 247 kB / 0.8309 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.6548, allocations: 26.55 kB / 0.8309 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.6549, allocations: 131.8 kB / 0.831 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.6549, allocations: 3.906 kB / 0.831 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.655, allocations: 24.66 kB / 0.8311 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6551, allocations: 326.2 kB / 0.8314 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.6551, allocations: 11.02 kB / 0.8314 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/0.6552, allocations: 72.52 kB / 0.8314 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.684e-05/0.6552, allocations: 50.48 kB / 0.8315 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.6552, allocations: 2.094 kB / 0.8315 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001387/0.6554, allocations: 83.75 kB / 0.8316 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.6554, allocations: 9.531 kB / 0.8316 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.6554, allocations: 2.109 kB / 0.8316 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.6554, allocations: 2.469 kB / 0.8316 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.6555, allocations: 16.25 kB / 0.8316 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6555, allocations: 4.531 kB / 0.8316 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.6556, allocations: 19.33 kB / 0.8316 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.6556, allocations: 2.344 kB / 0.8316 GB, free: 15.66 MB / 0.6544 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.0001268/0.6557, allocations: 210.9 kB / 0.8318 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.6558, allocations: 118.9 kB / 0.8319 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.6559, allocations: 120.8 kB / 0.8321 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-05/0.6559, allocations: 185.4 kB / 0.8322 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-05/0.656, allocations: 179.2 kB / 0.8324 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-05/0.6561, allocations: 185.4 kB / 0.8326 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.6564, allocations: 446.9 kB / 0.833 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-05/0.6564, allocations: 112.6 kB / 0.8331 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.6565, allocations: 102.4 kB / 0.8332 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.808e-05/0.6565, allocations: 183.8 kB / 0.8334 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/0.6566, allocations: 185.4 kB / 0.8336 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.975e-05/0.6567, allocations: 183.5 kB / 0.8337 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-05/0.6567, allocations: 181.2 kB / 0.8339 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.6569, allocations: 323.9 kB / 0.8342 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.695e-05/0.657, allocations: 198.2 kB / 0.8344 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-05/0.6571, allocations: 182.2 kB / 0.8346 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.6572, allocations: 107.1 kB / 0.8347 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.6573, allocations: 186.5 kB / 0.8349 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.6573, allocations: 106.5 kB / 0.835 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001615/0.6575, allocations: 185.5 kB / 0.8351 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6575, allocations: 0 / 0.8351 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002282/0.6577, allocations: 23.91 kB / 0.8352 GB, free: 12.15 MB / 0.6544 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.0003887/0.6581, allocations: 0.8154 MB / 0.836 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.011e-05/0.6582, allocations: 21.78 kB / 0.836 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6582, allocations: 0.5938 kB / 0.836 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.6582, allocations: 5 kB / 0.836 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.6588, allocations: 0.5089 MB / 0.8365 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.6606, allocations: 2.048 MB / 0.8385 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.6609, allocations: 0.7188 MB / 0.8392 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.082e-05/0.661, allocations: 23.89 kB / 0.8392 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.6611, allocations: 44.45 kB / 0.8393 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6611, allocations: 1.031 kB / 0.8393 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3062/0.9673, allocations: 3.861 MB / 0.843 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/9.155, allocations: 14.47 kB / 0.843 GB, free: 8.316 MB / 0.6544 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)