Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001381, 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.001504/0.001504, 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 1.673/1.673, allocations: 227.4 MB / 247 MB, free: 10.44 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.2767/0.2767, allocations: 46.11 MB / 344.3 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.002408/0.002408, allocations: 71.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5628, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005386/0.5683, allocations: 3.54 MB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003447/0.5718, allocations: 1.472 MB / 0.5355 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000449/0.5722, allocations: 28.31 kB / 0.5355 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.5727, allocations: 112.2 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006464/0.5734, allocations: 153.8 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.575, allocations: 0.6342 MB / 0.5364 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.5763, allocations: 0.9398 MB / 0.5373 GB, free: 8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005435/0.5769, allocations: 299 kB / 0.5376 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007242/0.5776, allocations: 374 kB / 0.538 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000516/0.5782, allocations: 353.8 kB / 0.5383 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.5783, allocations: 72.72 kB / 0.5384 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.5785, allocations: 74.25 kB / 0.5384 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.5787, allocations: 178 kB / 0.5386 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.5791, allocations: 377 kB / 0.539 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.5802, allocations: 0.8375 MB / 0.5398 GB, free: 6.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5802, allocations: 0 / 0.5398 GB, free: 6.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5802, allocations: 0 / 0.5398 GB, free: 6.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.5803, allocations: 4 kB / 0.5398 GB, free: 6.188 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002519/0.5828, allocations: 1.233 MB / 0.541 GB, free: 5.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5828, allocations: 9.875 kB / 0.541 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.583, allocations: 91.14 kB / 0.5411 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005778/0.5835, allocations: 145.5 kB / 0.5412 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.5846, allocations: 0.609 MB / 0.5418 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.5847, allocations: 38.44 kB / 0.5419 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.5848, allocations: 57.3 kB / 0.5419 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.5864, allocations: 0.7223 MB / 0.5426 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.5864, allocations: 5.125 kB / 0.5426 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.5865, allocations: 21.75 kB / 0.5426 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.5865, allocations: 16.94 kB / 0.5427 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.5881, allocations: 0.5575 MB / 0.5432 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003831/0.592, allocations: 2.279 MB / 0.5454 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.5939, allocations: 0.7154 MB / 0.5461 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008651/0.5947, allocations: 329.2 kB / 0.5464 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.996e-05/0.5948, allocations: 12.44 kB / 0.5465 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.5949, allocations: 38.94 kB / 0.5465 GB, free: 1.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.445e-06/0.5949, allocations: 0 / 0.5465 GB, free: 1.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.005165/0.6, allocations: 1.951 MB / 0.5484 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/0.6002, allocations: 243.7 kB / 0.5486 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007727/0.601, allocations: 0.5787 MB / 0.5492 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/0.6011, allocations: 37.7 kB / 0.5492 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.6014, allocations: 369.1 kB / 0.5496 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.6016, allocations: 182.4 kB / 0.5498 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.6018, allocations: 106.2 kB / 0.5499 GB, free: 13.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6019, allocations: 322 kB / 0.5502 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008644/0.6028, allocations: 302.9 kB / 0.5505 GB, free: 12.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.6038, allocations: 435.5 kB / 0.5509 GB, free: 12.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.6056, allocations: 0.659 MB / 0.5515 GB, free: 11.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6056, allocations: 0 / 0.5515 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00216/0.6078, allocations: 0.7988 MB / 0.5523 GB, free: 10.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.6078, allocations: 8 kB / 0.5523 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6078, allocations: 0 / 0.5523 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.6079, allocations: 12.17 kB / 0.5523 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008765/0.6087, allocations: 195.7 kB / 0.5525 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.6088, allocations: 4 kB / 0.5525 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006182/0.6094, allocations: 79.91 kB / 0.5526 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.6094, allocations: 20 kB / 0.5526 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008404/0.6103, allocations: 369.1 kB / 0.553 GB, free: 10.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000714/0.611, allocations: 361.3 kB / 0.5533 GB, free: 9.859 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001226/0.6123, allocations: 0.5438 MB / 0.5538 GB, free: 9.277 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.6123, allocations: 4 kB / 0.5538 GB, free: 9.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001568/0.6138, allocations: 0.6594 MB / 0.5545 GB, free: 8.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6139, allocations: 10.34 kB / 0.5545 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6139, allocations: 4 kB / 0.5545 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.6139, allocations: 4 kB / 0.5545 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.6146, allocations: 171.9 kB / 0.5547 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.6147, allocations: 4 kB / 0.5547 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.6152, allocations: 63.94 kB / 0.5547 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.6153, allocations: 23.98 kB / 0.5547 GB, free: 8.332 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002779/0.6155, allocations: 212.1 kB / 0.5549 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.6157, allocations: 79.48 kB / 0.555 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.6159, allocations: 91.36 kB / 0.5551 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.616, allocations: 11.94 kB / 0.5551 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.616, allocations: 0 / 0.5551 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.616, allocations: 0 / 0.5551 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/0.6189, allocations: 1.457 MB / 0.5565 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.619, allocations: 0 / 0.5565 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007223/0.6197, allocations: 155.9 kB / 0.5567 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.6197, allocations: 4 kB / 0.5567 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.6198, allocations: 15.98 kB / 0.5567 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6198, allocations: 0 / 0.5567 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6198, allocations: 8.031 kB / 0.5567 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/0.6227, allocations: 1.253 MB / 0.5579 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.6231, allocations: 196.4 kB / 0.5581 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.134e-05/0.6232, allocations: 12 kB / 0.5581 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.6238, allocations: 79.91 kB / 0.5582 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.624, allocations: 43.88 kB / 0.5583 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.624, allocations: 16 kB / 0.5583 GB, free: 4.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00054/0.6246, allocations: 415 kB / 0.5587 GB, free: 4.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6246, allocations: 0 / 0.5587 GB, free: 4.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007401/0.6253, allocations: 180 kB / 0.5588 GB, free: 4.016 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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.00333/0.6287, allocations: 1.801 MB / 0.5606 GB, free: 2.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002682/0.6313, allocations: 0.9774 MB / 0.5616 GB, free: 1.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6314, allocations: 0 / 0.5616 GB, free: 1.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009376/0.6323, allocations: 351.8 kB / 0.5619 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.6337, allocations: 213.2 kB / 0.5621 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.6453, allocations: 6.154 MB / 0.5681 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.646, allocations: 0.9296 MB / 0.569 GB, free: 9.398 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005423/0.6465, allocations: 92.78 kB / 0.5691 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000473/0.647, allocations: 279.3 kB / 0.5694 GB, free: 9.031 MB / 430.1 MB Notification: Performance of SimCode: time 1.253e-06/0.647, allocations: 0 / 0.5694 GB, free: 9.031 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04774/0.6948, allocations: 15.48 MB / 0.5845 GB, free: 9.668 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.763/10.46, allocations: 15.84 kB / 0.5845 GB, free: 9.652 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters_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_StrictLimiters.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1)