Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.05376/0.05376, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0693/0.0693, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.793/3.793, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2683/0.2683, allocations: 46.12 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002566/0.002566, allocations: 83.84 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4512, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003114/0.4543, allocations: 1.686 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.4557, allocations: 0.6644 MB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.4558, allocations: 2.312 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.156e-05/0.4558, allocations: 7.875 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.456, allocations: 30.09 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.4565, allocations: 148.2 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.4568, allocations: 159.6 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.4569, allocations: 34.86 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.4571, allocations: 74.25 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.4573, allocations: 62.16 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.4573, allocations: 13.75 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.4574, allocations: 23.28 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.4574, allocations: 37.08 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.4575, allocations: 55.91 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.4578, allocations: 142.7 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4578, allocations: 0 / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4578, allocations: 0 / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.4578, allocations: 1.125 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007065/0.4585, allocations: 465.2 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4585, allocations: 9.531 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.03e-05/0.4586, allocations: 42.02 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.4588, allocations: 30.02 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.4591, allocations: 226.9 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.4592, allocations: 3.281 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.4592, allocations: 10.53 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.4596, allocations: 176.3 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.4597, allocations: 9.359 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.4597, allocations: 1.375 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4597, allocations: 1.375 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.4601, allocations: 131.3 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008799/0.461, allocations: 456.3 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/0.4616, allocations: 193.5 kB / 0.5353 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.4619, allocations: 71.3 kB / 0.5354 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.4619, allocations: 1.375 kB / 0.5354 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.4619, allocations: 33.31 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.4619, allocations: 4 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001526/0.4635, allocations: 0.5731 MB / 0.536 GB, free: 9.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/0.4636, allocations: 113.1 kB / 0.5361 GB, free: 8.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.4637, allocations: 162.5 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.4638, allocations: 30.7 kB / 0.5363 GB, free: 8.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.4639, allocations: 105.8 kB / 0.5364 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.4639, allocations: 31.23 kB / 0.5364 GB, free: 8.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-05/0.464, allocations: 26.64 kB / 0.5364 GB, free: 8.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4641, allocations: 325.9 kB / 0.5367 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.4644, allocations: 75.14 kB / 0.5368 GB, free: 8.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.4647, allocations: 90.66 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.4651, allocations: 140.5 kB / 0.537 GB, free: 8.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4651, allocations: 0 / 0.537 GB, free: 8.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005241/0.4657, allocations: 193.9 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4657, allocations: 7 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.4657, allocations: 1.25 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.4657, allocations: 7.875 kB / 0.5372 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.4659, allocations: 34.09 kB / 0.5373 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.466, allocations: 0 / 0.5373 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.4661, allocations: 26.03 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.4661, allocations: 2.719 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001659/0.4663, allocations: 129.2 kB / 0.5374 GB, free: 7.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001268/0.4664, allocations: 63.06 kB / 0.5375 GB, free: 7.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001952/0.4666, allocations: 76.25 kB / 0.5376 GB, free: 7.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.31e-07/0.4666, allocations: 4.031 kB / 0.5376 GB, free: 7.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002643/0.4669, allocations: 123.2 kB / 0.5377 GB, free: 7.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.224e-06/0.4669, allocations: 4.344 kB / 0.5377 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.4669, allocations: 1.156 kB / 0.5377 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-06/0.4669, allocations: 0 / 0.5377 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.467, allocations: 25.16 kB / 0.5377 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.467, allocations: 9.109 kB / 0.5377 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.698e-05/0.4671, allocations: 15.73 kB / 0.5377 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.4672, allocations: 2.188 kB / 0.5377 GB, free: 7.688 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001317/0.4673, allocations: 183.4 kB / 0.5379 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.4673, allocations: 14.22 kB / 0.5379 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.4674, allocations: 16.69 kB / 0.5379 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4674, allocations: 5.094 kB / 0.5379 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4674, allocations: 1.094 kB / 0.5379 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4674, allocations: 3.984 kB / 0.5379 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009784/0.4684, allocations: 0.5099 MB / 0.5384 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4684, allocations: 0 / 0.5384 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.4686, allocations: 41.11 kB / 0.5385 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4686, allocations: 1.219 kB / 0.5385 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4686, allocations: 1.125 kB / 0.5385 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4687, allocations: 1.281 kB / 0.5385 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4687, allocations: 1.25 kB / 0.5385 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008027/0.4695, allocations: 366.6 kB / 0.5388 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.4695, allocations: 89.38 kB / 0.5389 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.4696, allocations: 1.062 kB / 0.5389 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.4698, allocations: 39.89 kB / 0.539 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.4699, allocations: 11.55 kB / 0.539 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.4699, allocations: 6.531 kB / 0.539 GB, free: 6.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.47, allocations: 119.9 kB / 0.5391 GB, free: 6.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.47, allocations: 0 / 0.5391 GB, free: 6.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003148/0.4704, allocations: 37.81 kB / 0.5391 GB, free: 6.523 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.001118/0.4715, allocations: 0.895 MB / 0.54 GB, free: 5.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006174/0.4721, allocations: 195.2 kB / 0.5402 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4721, allocations: 0 / 0.5402 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.4724, allocations: 82.89 kB / 0.5403 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.4728, allocations: 32.05 kB / 0.5403 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.4757, allocations: 1.938 MB / 0.5422 GB, free: 4.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.4761, allocations: 0.7032 MB / 0.5429 GB, free: 3.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.4762, allocations: 16.34 kB / 0.5429 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/0.4763, allocations: 39.95 kB / 0.5429 GB, free: 3.305 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4763, allocations: 0 / 0.5429 GB, free: 3.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.5053, allocations: 3.875 MB / 0.5467 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.597, allocations: 5.156 kB / 0.5467 GB, free: 0.7578 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe 2>&1)