Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001414/0.001414, allocations: 109 kB / 19.74 MB, free: 2.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 215.6 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 230.2 MB / 256.1 MB, free: 8.613 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2022/0.2022, allocations: 46.88 MB / 359.3 MB, free: 4.953 MB / 286.1 MB " [Timeout remaining time 180] 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.RootMeanSquare,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002196/0.002196, allocations: 88.08 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.252, allocations: 65.99 MB / 0.5584 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002608/0.2546, allocations: 1.7 MB / 0.5601 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009199/0.2555, allocations: 0.6049 MB / 0.5607 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.2556, allocations: 3.938 kB / 0.5607 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.821e-05/0.2556, allocations: 11.88 kB / 0.5607 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.157e-05/0.2557, allocations: 19.78 kB / 0.5607 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.2559, allocations: 63.81 kB / 0.5607 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.2561, allocations: 119.6 kB / 0.5609 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2562, allocations: 30.94 kB / 0.5609 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2563, allocations: 51.84 kB / 0.5609 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.2564, allocations: 51.7 kB / 0.561 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.2565, allocations: 15.98 kB / 0.561 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.904e-05/0.2565, allocations: 16 kB / 0.561 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.2565, allocations: 27.92 kB / 0.561 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.2566, allocations: 51.72 kB / 0.5611 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.2568, allocations: 119.5 kB / 0.5612 GB, free: 2.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.2568, allocations: 4 kB / 0.5612 GB, free: 2.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2568, allocations: 0 / 0.5612 GB, free: 2.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2568, allocations: 0 / 0.5612 GB, free: 2.309 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006405/0.2574, allocations: 430.8 kB / 0.5616 GB, free: 1.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2575, allocations: 8.031 kB / 0.5616 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.2575, allocations: 42.73 kB / 0.5617 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.2577, allocations: 28.81 kB / 0.5617 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.2579, allocations: 207.8 kB / 0.5619 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2579, allocations: 8.359 kB / 0.5619 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.2579, allocations: 19.94 kB / 0.5619 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.2581, allocations: 89.64 kB / 0.562 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2582, allocations: 0 / 0.562 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2582, allocations: 7.938 kB / 0.562 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.2582, allocations: 0 / 0.562 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.2583, allocations: 55.91 kB / 0.5621 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.2588, allocations: 392.5 kB / 0.5624 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.259, allocations: 54.5 kB / 0.5625 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.259, allocations: 28.92 kB / 0.5625 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.2591, allocations: 0 / 0.5625 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.2592, allocations: 103.3 kB / 0.5626 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.2592, allocations: 0 / 0.5626 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003204/0.2596, allocations: 137.5 kB / 0.5628 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.2596, allocations: 51.41 kB / 0.5628 GB, free: 500 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2597, allocations: 141.8 kB / 0.5629 GB, free: 348 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.2597, allocations: 29.69 kB / 0.563 GB, free: 312 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.2598, allocations: 116.1 kB / 0.5631 GB, free: 192 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.2598, allocations: 27.84 kB / 0.5631 GB, free: 164 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.2599, allocations: 29.7 kB / 0.5631 GB, free: 128 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.26, allocations: 322.8 kB / 0.5634 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.435e-05/0.2601, allocations: 31.92 kB / 0.5635 GB, free: 15.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.2602, allocations: 83.23 kB / 0.5635 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.2604, allocations: 123.6 kB / 0.5637 GB, free: 15.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2604, allocations: 0 / 0.5637 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000251/0.2606, allocations: 149.3 kB / 0.5638 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.2606, allocations: 8 kB / 0.5638 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2607, allocations: 3.984 kB / 0.5638 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2607, allocations: 8.219 kB / 0.5638 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.2608, allocations: 23.92 kB / 0.5639 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2608, allocations: 4 kB / 0.5639 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.2608, allocations: 16.33 kB / 0.5639 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2609, allocations: 8 kB / 0.5639 GB, free: 15.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (mean1.y_last,$PRE.mean1.y_last,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001113/0.261, allocations: 129.7 kB / 0.564 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.261, allocations: 15.88 kB / 0.564 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.261, allocations: 12.66 kB / 0.564 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.261, allocations: 8 kB / 0.564 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.261, allocations: 0 / 0.564 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.261, allocations: 0 / 0.564 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.2612, allocations: 201.6 kB / 0.5642 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2612, allocations: 4 kB / 0.5642 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-05/0.2613, allocations: 15.92 kB / 0.5642 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2613, allocations: 0 / 0.5642 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2613, allocations: 0 / 0.5642 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.2613, allocations: 7.984 kB / 0.5643 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2613, allocations: 3.938 kB / 0.5643 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.2616, allocations: 172.9 kB / 0.5644 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.2617, allocations: 88.98 kB / 0.5645 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.2617, allocations: 8.031 kB / 0.5645 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.765e-05/0.2618, allocations: 3.938 kB / 0.5645 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.2618, allocations: 7.984 kB / 0.5645 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.2618, allocations: 4 kB / 0.5645 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.631e-05/0.2619, allocations: 114.8 kB / 0.5646 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2619, allocations: 4.062 kB / 0.5646 GB, free: 14.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002035/0.2621, allocations: 20 kB / 0.5647 GB, free: 14.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005644/0.2627, allocations: 0.6984 MB / 0.5653 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.2629, allocations: 87.83 kB / 0.5654 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2629, allocations: 0 / 0.5654 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.2629, allocations: 31.92 kB / 0.5655 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.2631, allocations: 10.66 kB / 0.5655 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.2649, allocations: 1.7 MB / 0.5671 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.2652, allocations: 0.708 MB / 0.5678 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.095e-05/0.2652, allocations: 12.66 kB / 0.5678 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.2653, allocations: 35.42 kB / 0.5679 GB, free: 10.93 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2653, allocations: 0 / 0.5679 GB, free: 10.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.2886, allocations: 2.464 MB / 0.5703 GB, free: 8.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.349, allocations: 8.047 kB / 0.5703 GB, free: 8.52 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0003996 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.85403991000203]