Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_dev_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.001206/0.001207, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001372/0.001372, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9413/0.9413, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 16 kB / 0.5069 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2059, allocations: 82.31 MB / 0.5873 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.5424/0.7484, allocations: 139.1 MB / 0.7231 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005498/0.754, allocations: 4.471 MB / 0.7275 GB, free: 6.406 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.7543, allocations: 4.219 kB / 0.7275 GB, free: 6.406 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.7546, allocations: 34.91 kB / 0.7275 GB, free: 6.391 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.7548, allocations: 83.77 kB / 0.7276 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.755, allocations: 33.17 kB / 0.7277 GB, free: 6.312 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.7554, allocations: 181.5 kB / 0.7278 GB, free: 6.215 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.7556, allocations: 69.97 kB / 0.7279 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.7558, allocations: 78.09 kB / 0.728 GB, free: 6.145 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.403e-05/0.7559, allocations: 44.56 kB / 0.728 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.7559, allocations: 1.812 kB / 0.728 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.825e-05/0.7559, allocations: 3.312 kB / 0.728 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.756, allocations: 24.2 kB / 0.728 GB, free: 6.109 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.756, allocations: 59.11 kB / 0.7281 GB, free: 6.059 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.7562, allocations: 115.5 kB / 0.7282 GB, free: 6.039 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.7562, allocations: 0 / 0.7282 GB, free: 6.039 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7562, allocations: 0 / 0.7282 GB, free: 6.039 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.7563, allocations: 0 / 0.7282 GB, free: 6.039 MB / 0.545 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.0004718/0.7567, allocations: 411 kB / 0.7286 GB, free: 5.645 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.7568, allocations: 10.42 kB / 0.7286 GB, free: 5.645 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.7568, allocations: 44.73 kB / 0.7287 GB, free: 5.598 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.7569, allocations: 21.98 kB / 0.7287 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.7572, allocations: 242.3 kB / 0.7289 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.7572, allocations: 4.641 kB / 0.7289 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.7572, allocations: 12.97 kB / 0.7289 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.7575, allocations: 170.1 kB / 0.7291 GB, free: 5.215 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.7575, allocations: 5.25 kB / 0.7291 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.7575, allocations: 5.312 kB / 0.7291 GB, free: 5.207 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.7575, allocations: 3.625 kB / 0.7291 GB, free: 5.207 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.7576, allocations: 76.89 kB / 0.7292 GB, free: 5.176 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000791/0.7584, allocations: 1.147 MB / 0.7303 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.333e-05/0.7585, allocations: 169.1 kB / 0.7305 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.7585, allocations: 82.34 kB / 0.7305 GB, free: 3.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.7586, allocations: 109.8 kB / 0.7306 GB, free: 3.711 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.7586, allocations: 0 / 0.7306 GB, free: 3.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.938e-05/0.7586, allocations: 46.92 kB / 0.7307 GB, free: 3.668 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.7587, allocations: 178.8 kB / 0.7309 GB, free: 3.469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.7589, allocations: 248.5 kB / 0.7311 GB, free: 3.324 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.759, allocations: 25.7 kB / 0.7311 GB, free: 3.293 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.7591, allocations: 137.8 kB / 0.7312 GB, free: 3.172 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.7591, allocations: 0 / 0.7312 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.7591, allocations: 4 kB / 0.7312 GB, free: 3.168 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.7592, allocations: 323.6 kB / 0.7316 GB, free: 2.852 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.7592, allocations: 11.64 kB / 0.7316 GB, free: 2.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.324e-05/0.7592, allocations: 69.14 kB / 0.7316 GB, free: 2.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.519e-05/0.7593, allocations: 18.11 kB / 0.7316 GB, free: 2.758 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7593, allocations: 1.375 kB / 0.7317 GB, free: 2.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001427/0.7594, allocations: 93.66 kB / 0.7317 GB, free: 2.695 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.7595, allocations: 9.531 kB / 0.7317 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7595, allocations: 6.328 kB / 0.7318 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.7595, allocations: 2.172 kB / 0.7318 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.7596, allocations: 7.484 kB / 0.7318 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.7596, allocations: 2.641 kB / 0.7318 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.94e-05/0.7597, allocations: 17.86 kB / 0.7318 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.7597, allocations: 2.75 kB / 0.7318 GB, free: 2.676 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.7598, allocations: 205.9 kB / 0.732 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.7599, allocations: 126.5 kB / 0.7321 GB, free: 2.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.992e-05/0.76, allocations: 118.6 kB / 0.7322 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.336e-05/0.7601, allocations: 186.4 kB / 0.7324 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.276e-05/0.7601, allocations: 181.5 kB / 0.7326 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.357e-05/0.7602, allocations: 181 kB / 0.7327 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.7606, allocations: 456.2 kB / 0.7332 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.903e-05/0.7607, allocations: 101.6 kB / 0.7333 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.7607, allocations: 107 kB / 0.7334 GB, free: 1.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.426e-05/0.7608, allocations: 178.2 kB / 0.7335 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/0.7609, allocations: 177.9 kB / 0.7337 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.796e-05/0.7609, allocations: 187.1 kB / 0.7339 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.478e-05/0.761, allocations: 188.2 kB / 0.7341 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.7612, allocations: 316.7 kB / 0.7344 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.7614, allocations: 197.1 kB / 0.7346 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.7615, allocations: 182.8 kB / 0.7347 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.7617, allocations: 104.2 kB / 0.7348 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.7618, allocations: 188.9 kB / 0.735 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.7618, allocations: 107.2 kB / 0.7351 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002722/0.7621, allocations: 179.8 kB / 0.7353 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7621, allocations: 0 / 0.7353 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004531/0.7626, allocations: 19.41 kB / 0.7353 GB, free: 15.05 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005379/0.7631, allocations: 0.8247 MB / 0.7361 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.7633, allocations: 23.73 kB / 0.7361 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.7633, allocations: 0 / 0.7361 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.7633, allocations: 3.938 kB / 0.7361 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008568/0.7642, allocations: 0.5731 MB / 0.7367 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.7666, allocations: 1.549 MB / 0.7382 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.767, allocations: 0.7266 MB / 0.7389 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001574/0.7672, allocations: 23.98 kB / 0.7389 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.7673, allocations: 41.83 kB / 0.739 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.7673, allocations: 0 / 0.739 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.799, allocations: 3.5 MB / 0.7424 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/0.7993, allocations: 169.9 kB / 0.7426 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.553, allocations: 0 / 0.7426 GB, free: 11.2 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) Environment - environmentSimulation: