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.001669/0.001669, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001875/0.001875, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.614/1.614, allocations: 227.4 MB / 247 MB, free: 10.42 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.2777/0.2777, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.003223/0.003223, allocations: 79.86 kB / 480.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5448, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.004728/0.5496, allocations: 1.694 MB / 0.5322 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.5515, allocations: 0.6493 MB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.5516, allocations: 2 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.991e-05/0.5517, allocations: 15.8 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.5519, allocations: 25.73 kB / 0.5329 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006824/0.5526, allocations: 144.8 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.553, allocations: 167.7 kB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.5532, allocations: 38.28 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.5535, allocations: 74.84 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.5536, allocations: 62.78 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.5537, allocations: 16.38 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.689e-05/0.5538, allocations: 16.38 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.5539, allocations: 41.27 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.511e-05/0.5539, allocations: 52.23 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.5543, allocations: 137.4 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.5543, allocations: 1.156 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.684e-06/0.5543, allocations: 0 / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.5543, allocations: 3.938 kB / 0.5336 GB, free: 10.98 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.001145/0.5555, allocations: 469.3 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.827e-05/0.5556, allocations: 9.625 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.749e-05/0.5556, allocations: 37.5 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.5558, allocations: 26.58 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.5562, allocations: 235.7 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.5563, allocations: 3.125 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.5563, allocations: 13.88 kB / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.5568, allocations: 175.2 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5568, allocations: 0 / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.5568, allocations: 5.375 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5568, allocations: 2.75 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.5573, allocations: 125.9 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000988/0.5583, allocations: 453.6 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.5589, allocations: 196.6 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.5592, allocations: 67.98 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.5592, allocations: 9.266 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.5593, allocations: 37.34 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.824e-06/0.5593, allocations: 0 / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001754/0.5611, allocations: 0.5734 MB / 0.536 GB, free: 9.027 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.5612, allocations: 107.8 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.5614, allocations: 160 kB / 0.5362 GB, free: 8.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.5614, allocations: 30.7 kB / 0.5363 GB, free: 8.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.5615, allocations: 105.5 kB / 0.5364 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.5616, allocations: 35.53 kB / 0.5364 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/0.5616, allocations: 26.52 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.5619, allocations: 321.4 kB / 0.5367 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.5621, allocations: 74.98 kB / 0.5368 GB, free: 8.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.5624, allocations: 106.7 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.5629, allocations: 136.3 kB / 0.537 GB, free: 8.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5629, allocations: 1.25 kB / 0.537 GB, free: 8.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005553/0.5634, allocations: 184.5 kB / 0.5372 GB, free: 7.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5635, allocations: 5.531 kB / 0.5372 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5635, allocations: 0 / 0.5372 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.5635, allocations: 9.031 kB / 0.5372 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.5637, allocations: 41.89 kB / 0.5373 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5638, allocations: 0 / 0.5373 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.5639, allocations: 26.28 kB / 0.5373 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.5639, allocations: 2.219 kB / 0.5373 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001947/0.5641, allocations: 126.1 kB / 0.5374 GB, free: 7.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001391/0.5643, allocations: 58.36 kB / 0.5375 GB, free: 7.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002161/0.5645, allocations: 80.27 kB / 0.5376 GB, free: 7.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.02e-07/0.5645, allocations: 0 / 0.5376 GB, free: 7.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003203/0.5649, allocations: 122.8 kB / 0.5377 GB, free: 7.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.5649, allocations: 4.906 kB / 0.5377 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5649, allocations: 5.453 kB / 0.5377 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-06/0.5649, allocations: 0 / 0.5377 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.565, allocations: 25.48 kB / 0.5377 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.565, allocations: 3.938 kB / 0.5377 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.364e-05/0.5651, allocations: 16.3 kB / 0.5377 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.5651, allocations: 2.25 kB / 0.5377 GB, free: 7.652 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.0001495/0.5653, allocations: 187.4 kB / 0.5379 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.5653, allocations: 18.42 kB / 0.5379 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.951e-05/0.5654, allocations: 12.81 kB / 0.5379 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.5654, allocations: 4.969 kB / 0.5379 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5654, allocations: 1.156 kB / 0.5379 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.5654, allocations: 0 / 0.5379 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.5665, allocations: 0.5136 MB / 0.5384 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5665, allocations: 4.031 kB / 0.5384 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.5667, allocations: 36.72 kB / 0.5385 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.5667, allocations: 1.188 kB / 0.5385 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.5667, allocations: 1.188 kB / 0.5385 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.5667, allocations: 5.266 kB / 0.5385 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5667, allocations: 1.312 kB / 0.5385 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/0.5676, allocations: 359.6 kB / 0.5388 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.5677, allocations: 83.62 kB / 0.5389 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.5678, allocations: 14.64 kB / 0.5389 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.568, allocations: 38.52 kB / 0.539 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.5681, allocations: 11.62 kB / 0.539 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.5681, allocations: 16.33 kB / 0.539 GB, free: 6.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.5683, allocations: 119.1 kB / 0.5391 GB, free: 6.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5683, allocations: 4 kB / 0.5391 GB, free: 6.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.5686, allocations: 33.62 kB / 0.5391 GB, free: 6.473 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.001232/0.5698, allocations: 0.8876 MB / 0.54 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006588/0.5705, allocations: 194.9 kB / 0.5402 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5705, allocations: 0 / 0.5402 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.5708, allocations: 78.16 kB / 0.5403 GB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.5712, allocations: 32.78 kB / 0.5403 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.5743, allocations: 1.94 MB / 0.5422 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.5746, allocations: 0.7035 MB / 0.5429 GB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.5747, allocations: 16.44 kB / 0.5429 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.5749, allocations: 44.67 kB / 0.5429 GB, free: 3.262 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5749, allocations: 0 / 0.5429 GB, free: 3.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.6071, allocations: 3.872 MB / 0.5467 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.694/9.301, allocations: 5.156 kB / 0.5467 GB, free: 0.7188 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe 2>&1)