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.004958/0.004958, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001144/0.001144, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7552/0.7552, allocations: 132.2 MB / 422.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 60.28 kB / 0.5808 GB, free: 24.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1474, allocations: 80.21 MB / 0.6592 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.4943/0.6417, allocations: 166.1 MB / 0.8214 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005616/0.6474, allocations: 5.704 MB / 0.8269 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/0.6476, allocations: 9.438 kB / 0.827 GB, free: 2.363 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.0004653/0.6481, allocations: 89.31 kB / 0.827 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.6484, allocations: 55.61 kB / 0.8271 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.6485, allocations: 40.09 kB / 0.8271 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000318/0.6489, allocations: 212 kB / 0.8273 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.6491, allocations: 101.4 kB / 0.8274 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.6493, allocations: 98.38 kB / 0.8275 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.6495, allocations: 73.3 kB / 0.8276 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.6495, allocations: 12.38 kB / 0.8276 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.332e-05/0.6495, allocations: 7.375 kB / 0.8276 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.6496, allocations: 31.64 kB / 0.8276 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.864e-05/0.6497, allocations: 72.27 kB / 0.8277 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.6499, allocations: 161.3 kB / 0.8279 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6499, allocations: 0 / 0.8279 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6499, allocations: 3.938 kB / 0.8279 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.6499, allocations: 0 / 0.8279 GB, free: 1.738 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.000628/0.6505, allocations: 435.8 kB / 0.8283 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.6506, allocations: 14.23 kB / 0.8283 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.6506, allocations: 42.88 kB / 0.8283 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.6507, allocations: 23.81 kB / 0.8284 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.651, allocations: 243.8 kB / 0.8286 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.651, allocations: 12.95 kB / 0.8286 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.651, allocations: 13.66 kB / 0.8286 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.6513, allocations: 170.2 kB / 0.8288 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.6513, allocations: 3.938 kB / 0.8288 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.6513, allocations: 6.719 kB / 0.8288 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.6513, allocations: 1.812 kB / 0.8288 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.6514, allocations: 71.08 kB / 0.8289 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008678/0.6523, allocations: 1.158 MB / 0.83 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.901e-05/0.6524, allocations: 169.1 kB / 0.8302 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.6524, allocations: 82.55 kB / 0.8302 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.6525, allocations: 79.22 kB / 0.8303 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.6525, allocations: 109.8 kB / 0.8304 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.6525, allocations: 0 / 0.8304 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.847e-05/0.6526, allocations: 55.69 kB / 0.8305 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.6527, allocations: 178.1 kB / 0.8306 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.6529, allocations: 245.5 kB / 0.8309 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.653, allocations: 32.14 kB / 0.8309 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.6531, allocations: 131.7 kB / 0.831 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-06/0.6531, allocations: 2.094 kB / 0.831 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.6531, allocations: 19 kB / 0.831 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6532, allocations: 335.6 kB / 0.8314 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.6533, allocations: 4.75 kB / 0.8314 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.302e-05/0.6533, allocations: 69.94 kB / 0.8314 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.562e-05/0.6534, allocations: 48.36 kB / 0.8315 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6534, 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.0001665/0.6536, allocations: 92.05 kB / 0.8316 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.6536, allocations: 4.469 kB / 0.8316 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6536, allocations: 7.25 kB / 0.8316 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.6536, allocations: 0 / 0.8316 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.893e-05/0.6537, allocations: 7.5 kB / 0.8316 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6537, allocations: 5.969 kB / 0.8316 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.4e-05/0.6538, allocations: 21.27 kB / 0.8316 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.6538, allocations: 2.312 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.0001205/0.6539, allocations: 204.2 kB / 0.8318 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.654, allocations: 123.1 kB / 0.8319 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.6541, allocations: 122.6 kB / 0.832 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.205e-05/0.6541, allocations: 182.1 kB / 0.8322 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.363e-05/0.6542, allocations: 184.3 kB / 0.8324 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-05/0.6543, allocations: 183.1 kB / 0.8326 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.6545, allocations: 455 kB / 0.833 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-05/0.6546, allocations: 110.7 kB / 0.8331 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.6546, allocations: 101 kB / 0.8332 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-05/0.6547, allocations: 183.3 kB / 0.8334 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.6547, allocations: 176.3 kB / 0.8336 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.114e-05/0.6548, allocations: 176.3 kB / 0.8337 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.457e-05/0.6549, allocations: 186.9 kB / 0.8339 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.655, allocations: 329.2 kB / 0.8342 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.6551, allocations: 202.8 kB / 0.8344 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-05/0.6552, allocations: 178.7 kB / 0.8346 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.6553, allocations: 104.9 kB / 0.8347 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.6554, allocations: 183.1 kB / 0.8348 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.6554, allocations: 108.9 kB / 0.835 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001473/0.6556, allocations: 181.2 kB / 0.8351 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6556, allocations: 2.531 kB / 0.8351 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002326/0.6558, allocations: 17.97 kB / 0.8351 GB, free: 10.33 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.0003807/0.6562, allocations: 0.8274 MB / 0.836 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.845e-05/0.6563, allocations: 24.61 kB / 0.836 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6563, allocations: 0 / 0.836 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.6563, allocations: 0 / 0.836 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.6569, allocations: 0.5063 MB / 0.8365 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.6587, allocations: 2.048 MB / 0.8385 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.6591, allocations: 0.7236 MB / 0.8392 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.797e-05/0.6592, allocations: 18.02 kB / 0.8392 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.6592, allocations: 39.11 kB / 0.8392 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.6592, allocations: 4 kB / 0.8392 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.6782, allocations: 3.912 MB / 0.8431 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.946, allocations: 6.516 kB / 0.8431 GB, free: 4.535 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)