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: translateModel(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u") translateModel(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00756/0.00756, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001346/0.001346, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.806/0.806, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 0.5813 GB, free: 7.574 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5337/0.535, allocations: 80.2 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.2065/0.7415, allocations: 166.1 MB / 0.8219 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005913/0.7475, allocations: 5.711 MB / 0.8274 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.7477, allocations: 7.938 kB / 0.8274 GB, free: 9.824 MB / 0.6544 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.0005089/0.7482, allocations: 95.3 kB / 0.8275 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.7484, allocations: 59.61 kB / 0.8276 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.7486, allocations: 39.95 kB / 0.8276 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.7489, allocations: 219.1 kB / 0.8278 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.7492, allocations: 82.66 kB / 0.8279 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.7494, allocations: 107.5 kB / 0.828 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.7496, allocations: 71.64 kB / 0.8281 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.7496, allocations: 8 kB / 0.8281 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.086e-05/0.7497, allocations: 12 kB / 0.8281 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.7497, allocations: 31.91 kB / 0.8281 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.898e-05/0.7498, allocations: 71.61 kB / 0.8282 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.75, allocations: 157.2 kB / 0.8284 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7501, allocations: 0 / 0.8284 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7501, allocations: 0 / 0.8284 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.7501, allocations: 0 / 0.8284 GB, free: 8.887 MB / 0.6544 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.0006197/0.7507, allocations: 442.9 kB / 0.8288 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.7508, allocations: 15.97 kB / 0.8288 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.7508, allocations: 23.75 kB / 0.8288 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.7511, allocations: 250.7 kB / 0.8291 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.7512, allocations: 8.234 kB / 0.8291 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.7512, allocations: 8 kB / 0.8291 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.7514, allocations: 175 kB / 0.8292 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.7515, allocations: 0 / 0.8292 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.7515, allocations: 4 kB / 0.8292 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.7515, allocations: 11.92 kB / 0.8292 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.7516, allocations: 71.84 kB / 0.8293 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009349/0.7526, allocations: 1.152 MB / 0.8304 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.739e-05/0.7527, allocations: 173.1 kB / 0.8306 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.7527, allocations: 80.14 kB / 0.8307 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.7527, allocations: 75.28 kB / 0.8308 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.7528, allocations: 105.8 kB / 0.8309 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.7528, allocations: 4 kB / 0.8309 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.491e-05/0.7529, allocations: 45.45 kB / 0.8309 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/0.753, allocations: 178.1 kB / 0.8311 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.7533, allocations: 253 kB / 0.8313 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.7533, allocations: 25.7 kB / 0.8313 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.7534, allocations: 139.8 kB / 0.8315 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.855e-06/0.7534, allocations: 4 kB / 0.8315 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.7535, allocations: 21.66 kB / 0.8315 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.7536, allocations: 326.8 kB / 0.8318 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.7536, allocations: 11.98 kB / 0.8318 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.223e-05/0.7537, allocations: 67.66 kB / 0.8319 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.457e-05/0.7538, allocations: 56.17 kB / 0.8319 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7538, allocations: 0 / 0.8319 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001572/0.7539, allocations: 85.42 kB / 0.832 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.754, allocations: 6.188 kB / 0.832 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.754, allocations: 4.156 kB / 0.832 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.754, allocations: 4 kB / 0.832 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.771e-05/0.7541, allocations: 11.94 kB / 0.832 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.7541, allocations: 0 / 0.832 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.7542, allocations: 11.97 kB / 0.8321 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.7542, allocations: 8 kB / 0.8321 GB, free: 4.75 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.0001383/0.7543, allocations: 213 kB / 0.8323 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.7544, allocations: 120.7 kB / 0.8324 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.93e-05/0.7545, allocations: 125.8 kB / 0.8325 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.088e-05/0.7545, allocations: 176.3 kB / 0.8327 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.047e-05/0.7546, allocations: 184.2 kB / 0.8328 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.448e-05/0.7547, allocations: 184.2 kB / 0.833 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.755, allocations: 453 kB / 0.8335 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.405e-05/0.7551, allocations: 109 kB / 0.8336 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.7551, allocations: 105 kB / 0.8337 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.692e-05/0.7552, allocations: 184.2 kB / 0.8338 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/0.7552, allocations: 176.3 kB / 0.834 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.74e-05/0.7553, allocations: 180.4 kB / 0.8342 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.046e-05/0.7554, allocations: 184.3 kB / 0.8344 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.7556, allocations: 327.5 kB / 0.8347 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.7557, allocations: 197.9 kB / 0.8349 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.311e-05/0.7558, allocations: 184.2 kB / 0.835 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.7559, allocations: 101 kB / 0.8351 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.756, allocations: 184.3 kB / 0.8353 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.7561, allocations: 104.9 kB / 0.8354 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001986/0.7563, allocations: 184.5 kB / 0.8356 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7563, allocations: 0 / 0.8356 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002546/0.7565, allocations: 20 kB / 0.8356 GB, free: 0.9102 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.0001332/0.7567, allocations: 174.5 kB / 0.8358 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.828e-05/0.7568, allocations: 27.98 kB / 0.8358 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.7568, allocations: 0 / 0.8358 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.7568, allocations: 0 / 0.8358 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.7574, allocations: 0.5155 MB / 0.8363 GB, free: 188 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.7579, allocations: 323.4 kB / 0.8366 GB, free: 15.84 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.7582, allocations: 0.728 MB / 0.8373 GB, free: 15.09 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 6.595e-05/0.7583, allocations: 17.55 kB / 0.8373 GB, free: 15.07 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.7583, allocations: 15.44 kB / 0.8373 GB, free: 15.05 MB / 0.67 GB Notification: Performance of SimCode: time 2.5e-07/0.7583, allocations: 0 / 0.8373 GB, free: 15.05 MB / 0.67 GB Notification: Performance of Templates: time 0.00459/0.7629, allocations: 1.943 MB / 0.8392 GB, free: 13.14 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.makefile (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 & ./IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)