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.00175/0.00175, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002086/0.002086, 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.389/1.389, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.11 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 80.19 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.323, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.00527/0.3284, allocations: 3.391 MB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003512/0.3319, allocations: 1.604 MB / 0.5355 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006199/0.3326, allocations: 22.56 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.3332, allocations: 140.7 kB / 0.5357 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005782/0.3338, allocations: 190.3 kB / 0.5358 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.3352, allocations: 0.5395 MB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.3367, allocations: 0.9463 MB / 0.5373 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.3372, allocations: 228.3 kB / 0.5375 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007359/0.3379, allocations: 364.3 kB / 0.5379 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006489/0.3386, allocations: 421.6 kB / 0.5383 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.3387, allocations: 62.75 kB / 0.5383 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.3391, allocations: 188.6 kB / 0.5385 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.3394, allocations: 191.2 kB / 0.5387 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.3398, allocations: 348.3 kB / 0.539 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.3411, allocations: 0.9171 MB / 0.5399 GB, free: 6.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3411, allocations: 0 / 0.5399 GB, free: 6.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3411, allocations: 0 / 0.5399 GB, free: 6.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.3411, allocations: 0.9062 kB / 0.5399 GB, free: 6.336 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.002581/0.3437, allocations: 1.196 MB / 0.5411 GB, free: 5.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3438, allocations: 9.984 kB / 0.5411 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.3439, allocations: 89.95 kB / 0.5412 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.3442, allocations: 110.7 kB / 0.5413 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.3453, allocations: 0.5888 MB / 0.5419 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.3453, allocations: 36.88 kB / 0.5419 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.843e-05/0.3454, allocations: 58.48 kB / 0.5419 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.3466, allocations: 0.617 MB / 0.5425 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.3466, allocations: 2.281 kB / 0.5425 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.3467, allocations: 20.5 kB / 0.5426 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.3467, allocations: 11.81 kB / 0.5426 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.3479, allocations: 462.1 kB / 0.543 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.3518, allocations: 2.649 MB / 0.5456 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.353, allocations: 0.5111 MB / 0.5461 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006121/0.3536, allocations: 269.3 kB / 0.5464 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.892e-05/0.3537, allocations: 8.234 kB / 0.5464 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.3537, allocations: 38.73 kB / 0.5464 GB, free: 1.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.846e-06/0.3537, allocations: 0 / 0.5464 GB, free: 1.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002954/0.3567, allocations: 1.182 MB / 0.5476 GB, free: 72 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/0.3569, allocations: 162.2 kB / 0.5477 GB, free: 15.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.3579, allocations: 0.6529 MB / 0.5484 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.358, allocations: 33.7 kB / 0.5484 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.3583, allocations: 369.2 kB / 0.5487 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.3585, allocations: 182.4 kB / 0.5489 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.3587, allocations: 118.3 kB / 0.549 GB, free: 14.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3589, allocations: 337.9 kB / 0.5493 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006941/0.3596, allocations: 283.3 kB / 0.5496 GB, free: 13.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008018/0.3604, allocations: 449.2 kB / 0.55 GB, free: 13.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.3619, allocations: 0.7161 MB / 0.5507 GB, free: 12.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3619, allocations: 0 / 0.5507 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001866/0.3638, allocations: 0.8314 MB / 0.5516 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3638, allocations: 4 kB / 0.5516 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3638, allocations: 4 kB / 0.5516 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.3639, allocations: 12.03 kB / 0.5516 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009111/0.3648, allocations: 195.7 kB / 0.5518 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/0.3648, allocations: 12.16 kB / 0.5518 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.3654, allocations: 91.61 kB / 0.5519 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.3655, allocations: 24 kB / 0.5519 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008455/0.3663, allocations: 429.2 kB / 0.5523 GB, free: 11.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007426/0.3671, allocations: 429.2 kB / 0.5527 GB, free: 10.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001356/0.3684, allocations: 0.6882 MB / 0.5534 GB, free: 9.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.3685, allocations: 0 / 0.5534 GB, free: 9.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001701/0.3702, allocations: 0.8124 MB / 0.5542 GB, free: 8.953 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3702, allocations: 8 kB / 0.5542 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3702, allocations: 4 kB / 0.5542 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3702, allocations: 8 kB / 0.5542 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/0.3711, allocations: 200.3 kB / 0.5544 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.3711, allocations: 15.88 kB / 0.5544 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.3717, allocations: 79.61 kB / 0.5545 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.3718, allocations: 28 kB / 0.5545 GB, free: 8.617 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.0002311/0.372, allocations: 212.1 kB / 0.5547 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.3722, allocations: 79.48 kB / 0.5548 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.3724, allocations: 98.83 kB / 0.5549 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.3724, allocations: 7.938 kB / 0.5549 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3724, allocations: 7.938 kB / 0.5549 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3724, allocations: 0 / 0.5549 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.3746, allocations: 1.26 MB / 0.5561 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3746, allocations: 0 / 0.5561 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006694/0.3753, allocations: 107.9 kB / 0.5562 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.3753, allocations: 4 kB / 0.5562 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/0.3754, allocations: 16.05 kB / 0.5562 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3754, allocations: 8 kB / 0.5562 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3754, allocations: 3.938 kB / 0.5562 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.3777, allocations: 1.173 MB / 0.5574 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.378, allocations: 200.4 kB / 0.5576 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.496e-05/0.3781, allocations: 12 kB / 0.5576 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005515/0.3787, allocations: 51.94 kB / 0.5576 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.3788, allocations: 43.89 kB / 0.5577 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.3788, allocations: 15.98 kB / 0.5577 GB, free: 5.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007173/0.3796, allocations: 459 kB / 0.5581 GB, free: 4.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3796, allocations: 0 / 0.5581 GB, free: 4.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008966/0.3805, allocations: 219.9 kB / 0.5584 GB, free: 4.555 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.002905/0.3834, allocations: 1.749 MB / 0.5601 GB, free: 2.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002359/0.3858, allocations: 0.9897 MB / 0.561 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3858, allocations: 0 / 0.561 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006931/0.3865, allocations: 284.1 kB / 0.5613 GB, free: 1.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.3877, allocations: 201.5 kB / 0.5615 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.3995, allocations: 6.784 MB / 0.5681 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.4002, allocations: 0.9501 MB / 0.569 GB, free: 9.285 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005534/0.4007, allocations: 156.7 kB / 0.5692 GB, free: 9.133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/0.4012, allocations: 255.4 kB / 0.5694 GB, free: 8.883 MB / 430.1 MB Notification: Performance of SimCode: time 2.655e-06/0.4012, allocations: 0 / 0.5694 GB, free: 8.883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04611/0.4473, allocations: 15.57 MB / 0.5846 GB, free: 9.434 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.908/9.355, allocations: 14.47 kB / 0.5847 GB, free: 9.426 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)