Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.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.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001581/0.001587, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001764/0.001764, allocations: 203.9 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 247 MB, free: 10.5 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.2315/0.2315, allocations: 46.13 MB / 344.4 MB, free: 11.49 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.002299/0.002299, allocations: 91.84 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3726, allocations: 62.43 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.00511/0.3777, allocations: 3.363 MB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003523/0.3813, allocations: 1.601 MB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006803/0.382, allocations: 25.62 kB / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.3827, allocations: 144.7 kB / 0.5356 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005423/0.3832, allocations: 186.4 kB / 0.5358 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.3847, allocations: 0.5403 MB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.386, allocations: 0.8941 MB / 0.5372 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/0.3864, allocations: 229 kB / 0.5374 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.387, allocations: 370.6 kB / 0.5378 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005706/0.3876, allocations: 396 kB / 0.5382 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.3877, allocations: 61.72 kB / 0.5382 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.3879, allocations: 65.47 kB / 0.5383 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.3881, allocations: 201.5 kB / 0.5385 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.3885, allocations: 340.4 kB / 0.5388 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.3895, allocations: 0.782 MB / 0.5396 GB, free: 6.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3895, allocations: 7.938 kB / 0.5396 GB, free: 6.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3895, allocations: 0 / 0.5396 GB, free: 6.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.3896, allocations: 0 / 0.5396 GB, free: 6.547 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002505/0.3921, allocations: 1.178 MB / 0.5407 GB, free: 5.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.3921, allocations: 10.98 kB / 0.5407 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.3922, allocations: 89.3 kB / 0.5408 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003069/0.3926, allocations: 102.6 kB / 0.5409 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.3936, allocations: 0.5919 MB / 0.5415 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.3936, allocations: 41.09 kB / 0.5415 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3938, allocations: 55.92 kB / 0.5416 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.395, allocations: 0.6217 MB / 0.5422 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.395, allocations: 1.344 kB / 0.5422 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.3951, allocations: 24.78 kB / 0.5422 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.3951, allocations: 10.78 kB / 0.5422 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.3962, allocations: 462.4 kB / 0.5427 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003919/0.4001, allocations: 2.621 MB / 0.5452 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.4013, allocations: 0.5469 MB / 0.5458 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.402, allocations: 246.4 kB / 0.546 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.538e-05/0.402, allocations: 8.469 kB / 0.546 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.4021, allocations: 41.83 kB / 0.546 GB, free: 1.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 3.246e-06/0.4021, allocations: 3.938 kB / 0.546 GB, free: 1.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002776/0.4049, allocations: 1.164 MB / 0.5472 GB, free: 484 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.405, allocations: 162.2 kB / 0.5473 GB, free: 284 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.4062, allocations: 0.6451 MB / 0.548 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.4063, allocations: 37.7 kB / 0.548 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.4067, allocations: 372.4 kB / 0.5484 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.4069, allocations: 182.5 kB / 0.5485 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.4072, allocations: 118.3 kB / 0.5486 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.4074, allocations: 337.9 kB / 0.549 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006859/0.4081, allocations: 263.3 kB / 0.5492 GB, free: 14.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008452/0.4089, allocations: 425.5 kB / 0.5496 GB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.4105, allocations: 0.6699 MB / 0.5503 GB, free: 13.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.4105, allocations: 8 kB / 0.5503 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002171/0.4127, allocations: 0.8184 MB / 0.5511 GB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.4127, allocations: 4.531 kB / 0.5511 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.4128, allocations: 15.98 kB / 0.5511 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/0.4131, allocations: 56.77 kB / 0.5512 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009598/0.414, allocations: 191.7 kB / 0.5513 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.416, allocations: 1.609 MB / 0.5529 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008449/0.4168, allocations: 79.73 kB / 0.553 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.4169, allocations: 24 kB / 0.553 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001015/0.4179, allocations: 409.3 kB / 0.5534 GB, free: 9.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007548/0.4187, allocations: 413.1 kB / 0.5538 GB, free: 9.273 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001332/0.42, allocations: 0.6453 MB / 0.5544 GB, free: 8.566 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.528e-06/0.4201, allocations: 7.984 kB / 0.5544 GB, free: 8.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001975/0.4221, allocations: 0.7941 MB / 0.5552 GB, free: 7.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4221, allocations: 8 kB / 0.5552 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4221, allocations: 4 kB / 0.5552 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.4223, allocations: 61.34 kB / 0.5553 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/0.4232, allocations: 195.6 kB / 0.5555 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.4251, allocations: 1.606 MB / 0.557 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008179/0.4259, allocations: 79.84 kB / 0.5571 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.426, allocations: 24 kB / 0.5571 GB, free: 5.641 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004058/0.4264, allocations: 216 kB / 0.5573 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.4266, allocations: 79.48 kB / 0.5574 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.4269, allocations: 94.2 kB / 0.5575 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.4269, allocations: 4 kB / 0.5575 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.427, allocations: 0 / 0.5575 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.427, allocations: 11.92 kB / 0.5575 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.4287, allocations: 0.861 MB / 0.5584 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4287, allocations: 0 / 0.5584 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.4293, allocations: 103.9 kB / 0.5585 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.4294, allocations: 48 / 0.5585 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.093e-05/0.4294, allocations: 19.97 kB / 0.5585 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.4294, allocations: 4 kB / 0.5585 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.4294, allocations: 3.938 kB / 0.5585 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.4318, allocations: 1.145 MB / 0.5596 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.4321, allocations: 204.4 kB / 0.5598 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.593e-05/0.4322, allocations: 8 kB / 0.5598 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.4328, allocations: 51.94 kB / 0.5599 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.433, allocations: 47.81 kB / 0.5599 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.433, allocations: 8 kB / 0.5599 GB, free: 2.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008468/0.4339, allocations: 467 kB / 0.5604 GB, free: 2.234 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.4339, allocations: 0 / 0.5604 GB, free: 2.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001022/0.4349, allocations: 192 kB / 0.5605 GB, free: 2.047 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.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 (44): * Single equations (assignments): 44 * 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.002747/0.4377, allocations: 1.694 MB / 0.5622 GB, free: 328 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003016/0.4407, allocations: 1.191 MB / 0.5634 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.4407, allocations: 0 / 0.5634 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007032/0.4414, allocations: 282.7 kB / 0.5636 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.4427, allocations: 193.4 kB / 0.5638 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.454, allocations: 6.691 MB / 0.5703 GB, free: 7.699 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.4546, allocations: 0.9575 MB / 0.5713 GB, free: 6.711 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005581/0.4552, allocations: 136.8 kB / 0.5714 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/0.4556, allocations: 259.4 kB / 0.5717 GB, free: 6.324 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4556, allocations: 0 / 0.5717 GB, free: 6.324 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.525/1.981, allocations: 15.46 MB / 0.5868 GB, free: 7.027 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 30.44/32.43, allocations: 11.2 kB / 0.5868 GB, free: 7.02 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1)