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.001257/0.001257, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6794/0.6794, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001154, allocations: 63.81 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2996, allocations: 80.19 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.1476/0.4473, allocations: 166.1 MB / 0.7424 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004447/0.4518, allocations: 5.7 MB / 0.748 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.4519, allocations: 7.938 kB / 0.748 GB, free: 5.094 MB / 0.5762 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.0003407/0.4522, allocations: 95.3 kB / 0.7481 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.4524, allocations: 55.62 kB / 0.7481 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 9.936e-05/0.4525, allocations: 39.95 kB / 0.7481 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.4527, allocations: 219.1 kB / 0.7484 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.4529, allocations: 90.41 kB / 0.7484 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.4531, allocations: 99.64 kB / 0.7485 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.4532, allocations: 71.58 kB / 0.7486 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.4532, allocations: 12 kB / 0.7486 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.347e-05/0.4533, allocations: 8 kB / 0.7486 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.4533, allocations: 31.91 kB / 0.7487 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.501e-05/0.4534, allocations: 71.62 kB / 0.7487 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.4535, allocations: 159.5 kB / 0.7489 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4536, allocations: 3.938 kB / 0.7489 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4536, allocations: 0 / 0.7489 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.4536, allocations: 3.938 kB / 0.7489 GB, free: 4.145 MB / 0.5762 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.0004551/0.454, allocations: 438.9 kB / 0.7493 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.4541, allocations: 12.03 kB / 0.7493 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.4541, allocations: 38.56 kB / 0.7493 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.4541, allocations: 23.75 kB / 0.7494 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.4544, allocations: 242.6 kB / 0.7496 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.4544, allocations: 8.234 kB / 0.7496 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.4544, allocations: 12 kB / 0.7496 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.4546, allocations: 174.8 kB / 0.7498 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.4546, allocations: 4 kB / 0.7498 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.4546, allocations: 4 kB / 0.7498 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.4547, allocations: 11.92 kB / 0.7498 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.4548, allocations: 67.84 kB / 0.7499 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/0.4554, allocations: 1.148 MB / 0.751 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.963e-05/0.4555, allocations: 173.1 kB / 0.7512 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.4556, allocations: 84.14 kB / 0.7512 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.4556, allocations: 75.28 kB / 0.7513 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.4556, allocations: 113.8 kB / 0.7514 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.4556, allocations: 0 / 0.7514 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.565e-05/0.4557, allocations: 41.52 kB / 0.7515 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.4558, allocations: 178.1 kB / 0.7516 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.456, allocations: 257 kB / 0.7519 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.456, allocations: 25.7 kB / 0.7519 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.4561, allocations: 127.9 kB / 0.752 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-06/0.4561, allocations: 4 kB / 0.752 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.4561, allocations: 21.66 kB / 0.752 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.4562, allocations: 330.8 kB / 0.7524 GB, free: 296 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.4562, allocations: 4 kB / 0.7524 GB, free: 292 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.761e-05/0.4563, allocations: 75.72 kB / 0.7524 GB, free: 188 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.299e-05/0.4564, allocations: 56.16 kB / 0.7525 GB, free: 116 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4564, allocations: 3.938 kB / 0.7525 GB, free: 112 kB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001287/0.4565, allocations: 85.38 kB / 0.7526 GB, free: 20 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.4565, allocations: 4 kB / 0.7526 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.4565, allocations: 0 / 0.7526 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.4565, allocations: 4 kB / 0.7526 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.4566, allocations: 12 kB / 0.7526 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.4566, allocations: 4.047 kB / 0.7526 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.4567, allocations: 15.91 kB / 0.7526 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.4567, allocations: 8 kB / 0.7526 GB, free: 15.97 MB / 0.5919 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 9.584e-05/0.4568, allocations: 214.5 kB / 0.7528 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.4569, allocations: 116.8 kB / 0.7529 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.4569, allocations: 121.8 kB / 0.7531 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.384e-05/0.457, allocations: 184.2 kB / 0.7532 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.292e-05/0.457, allocations: 180.3 kB / 0.7534 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.245e-05/0.4571, allocations: 184.2 kB / 0.7536 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.4573, allocations: 457.1 kB / 0.754 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/0.4573, allocations: 101 kB / 0.7541 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.648e-05/0.4574, allocations: 108.9 kB / 0.7542 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.364e-05/0.4574, allocations: 176.3 kB / 0.7544 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.665e-05/0.4575, allocations: 184.2 kB / 0.7546 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.251e-05/0.4575, allocations: 180.2 kB / 0.7547 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-05/0.4576, allocations: 188.2 kB / 0.7549 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.4577, allocations: 319.8 kB / 0.7552 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.4578, allocations: 205.8 kB / 0.7554 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.4578, allocations: 180.3 kB / 0.7556 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.4579, allocations: 101 kB / 0.7557 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.458, allocations: 188.2 kB / 0.7559 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.458, allocations: 101 kB / 0.756 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000143/0.4582, allocations: 180.5 kB / 0.7561 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4582, allocations: 0 / 0.7561 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000228/0.4584, allocations: 24 kB / 0.7561 GB, free: 12.14 MB / 0.5919 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.0002751/0.4587, allocations: 0.8241 MB / 0.7569 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.422e-05/0.4588, allocations: 24.17 kB / 0.757 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4588, allocations: 4.062 kB / 0.757 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.4588, allocations: 0 / 0.757 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.4593, allocations: 0.5115 MB / 0.7575 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.4608, allocations: 2.036 MB / 0.7595 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.461, allocations: 0.7202 MB / 0.7602 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.355e-05/0.4611, allocations: 21.55 kB / 0.7602 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.4612, allocations: 43.42 kB / 0.7602 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of SimCode: time 1.272e-06/0.4612, allocations: 0 / 0.7602 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07269/0.5339, allocations: 3.805 MB / 0.7639 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.59, allocations: 3.328 kB / 0.7639 GB, free: 4.098 MB / 0.5919 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)