Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3278, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004341/0.3322, allocations: 3.384 MB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.3353, allocations: 1.604 MB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004841/0.3358, allocations: 22.38 kB / 0.5354 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.3363, allocations: 139.6 kB / 0.5355 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000522/0.3369, allocations: 182.8 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.3381, allocations: 0.5464 MB / 0.5363 GB, free: 8.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.3392, allocations: 0.9373 MB / 0.5372 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.3397, allocations: 241.4 kB / 0.5374 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006979/0.3404, allocations: 373.5 kB / 0.5378 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.341, allocations: 410.5 kB / 0.5381 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.3411, allocations: 62.53 kB / 0.5382 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.3414, allocations: 190.8 kB / 0.5384 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.3417, allocations: 200 kB / 0.5386 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.342, allocations: 340.3 kB / 0.5389 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.3432, allocations: 0.9144 MB / 0.5398 GB, free: 6.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3432, allocations: 0 / 0.5398 GB, free: 6.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3432, allocations: 1.188 kB / 0.5398 GB, free: 6.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.3433, allocations: 0 / 0.5398 GB, free: 6.352 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.002556/0.3458, allocations: 1.166 MB / 0.5409 GB, free: 5.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3459, allocations: 9.828 kB / 0.5409 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.346, allocations: 89.08 kB / 0.541 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.3463, allocations: 98.06 kB / 0.5411 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.3474, allocations: 0.5878 MB / 0.5417 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/0.3475, allocations: 37.84 kB / 0.5417 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.3476, allocations: 58.11 kB / 0.5418 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.3487, allocations: 0.6211 MB / 0.5424 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.3488, allocations: 2.156 kB / 0.5424 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/0.3488, allocations: 16.53 kB / 0.5424 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.3489, allocations: 11.53 kB / 0.5424 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.35, allocations: 462.1 kB / 0.5429 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003639/0.3536, allocations: 2.652 MB / 0.5455 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.3547, allocations: 0.5044 MB / 0.546 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/0.3552, allocations: 266.1 kB / 0.5462 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.3553, allocations: 16.16 kB / 0.5462 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3553, allocations: 42.73 kB / 0.5463 GB, free: 1.332 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.3553, allocations: 3.938 kB / 0.5463 GB, free: 1.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002462/0.3578, allocations: 1.143 MB / 0.5474 GB, free: 180 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.3579, allocations: 162.2 kB / 0.5475 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/0.3588, allocations: 0.6529 MB / 0.5482 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.3588, allocations: 37.7 kB / 0.5482 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.3591, allocations: 360.7 kB / 0.5486 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.3593, allocations: 181.5 kB / 0.5487 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.3595, allocations: 118.2 kB / 0.5488 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3596, allocations: 333.9 kB / 0.5492 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006405/0.3603, allocations: 291.2 kB / 0.5494 GB, free: 14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.361, allocations: 445.2 kB / 0.5499 GB, free: 13.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.3624, allocations: 0.7136 MB / 0.5506 GB, free: 12.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.3624, allocations: 0 / 0.5506 GB, free: 12.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001699/0.3641, allocations: 0.8231 MB / 0.5514 GB, free: 11.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3642, allocations: 8 kB / 0.5514 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.3642, allocations: 8 kB / 0.5514 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.3642, allocations: 8 kB / 0.5514 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009446/0.3652, allocations: 203.7 kB / 0.5516 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.3652, allocations: 12.28 kB / 0.5516 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005528/0.3657, allocations: 83.41 kB / 0.5517 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.3658, allocations: 24 kB / 0.5517 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007696/0.3666, allocations: 433.2 kB / 0.5521 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006803/0.3673, allocations: 429.2 kB / 0.5525 GB, free: 10.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001236/0.3685, allocations: 0.6844 MB / 0.5532 GB, free: 9.891 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.462e-06/0.3685, allocations: 7.984 kB / 0.5532 GB, free: 9.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001617/0.3702, allocations: 0.8081 MB / 0.554 GB, free: 9.066 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3702, allocations: 6.188 kB / 0.554 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3702, allocations: 8 kB / 0.554 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.3702, allocations: 8 kB / 0.554 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008612/0.3711, allocations: 192.3 kB / 0.5542 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.3711, allocations: 15.88 kB / 0.5542 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005741/0.3717, allocations: 79.53 kB / 0.5543 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.3717, allocations: 24 kB / 0.5543 GB, free: 8.742 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0002237/0.372, allocations: 216.1 kB / 0.5545 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.3722, allocations: 75.06 kB / 0.5546 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.3724, allocations: 94.84 kB / 0.5547 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3724, allocations: 11.92 kB / 0.5547 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3724, allocations: 0 / 0.5547 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.3724, allocations: 4 kB / 0.5547 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.3747, allocations: 1.256 MB / 0.5559 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3747, allocations: 0 / 0.5559 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007155/0.3754, allocations: 107.9 kB / 0.556 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.3754, allocations: 3.938 kB / 0.556 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/0.3755, allocations: 24.05 kB / 0.556 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.3755, allocations: 7.938 kB / 0.556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3755, allocations: 96 / 0.556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.3777, allocations: 1.165 MB / 0.5572 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.3781, allocations: 200.1 kB / 0.5574 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.3782, allocations: 16 kB / 0.5574 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.3788, allocations: 51.94 kB / 0.5574 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3789, allocations: 39.89 kB / 0.5575 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.3789, allocations: 15.98 kB / 0.5575 GB, free: 5.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007019/0.3797, allocations: 463 kB / 0.5579 GB, free: 4.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3797, allocations: 0 / 0.5579 GB, free: 4.902 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001017/0.3807, allocations: 216 kB / 0.5581 GB, free: 4.691 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.002529/0.3832, allocations: 1.745 MB / 0.5598 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.3855, allocations: 0.9889 MB / 0.5608 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.3855, allocations: 4 kB / 0.5608 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.3861, allocations: 299.2 kB / 0.5611 GB, free: 1.625 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.3873, allocations: 183.2 kB / 0.5613 GB, free: 1.449 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.3983, allocations: 6.743 MB / 0.5679 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.3988, allocations: 0.9539 MB / 0.5688 GB, free: 9.461 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005382/0.3994, allocations: 148.8 kB / 0.5689 GB, free: 9.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/0.3998, allocations: 263.3 kB / 0.5692 GB, free: 9.059 MB / 430.1 MB Notification: Performance of SimCode: time 2.926e-06/0.3998, allocations: 3.938 kB / 0.5692 GB, free: 9.055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04429/0.4441, allocations: 15.85 MB / 0.5847 GB, free: 9.324 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.781/9.225, allocations: 0 / 0.5847 GB, free: 9.324 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)