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.001151/0.001151, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 75.86 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3137, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004459/0.3182, allocations: 3.393 MB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.321, allocations: 1.596 MB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/0.3213, allocations: 21.62 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.3219, allocations: 140.7 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005103/0.3224, allocations: 186.3 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.3239, allocations: 0.5422 MB / 0.5363 GB, free: 8.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001637/0.3256, allocations: 0.9347 MB / 0.5372 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000552/0.3261, allocations: 236.9 kB / 0.5374 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000649/0.3268, allocations: 377.4 kB / 0.5378 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00052/0.3273, allocations: 410.4 kB / 0.5381 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.3274, allocations: 62.72 kB / 0.5382 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.3277, allocations: 191.2 kB / 0.5384 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.3279, allocations: 204.5 kB / 0.5386 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.3282, allocations: 343.8 kB / 0.5389 GB, free: 7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009643/0.3292, allocations: 0.9143 MB / 0.5398 GB, free: 6.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3292, allocations: 0 / 0.5398 GB, free: 6.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3292, allocations: 1.188 kB / 0.5398 GB, free: 6.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.3292, allocations: 0 / 0.5398 GB, free: 6.328 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.00254/0.3318, allocations: 1.165 MB / 0.5409 GB, free: 5.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3318, allocations: 10.7 kB / 0.541 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.3319, allocations: 85.11 kB / 0.541 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.3322, allocations: 105.7 kB / 0.5411 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009797/0.3332, allocations: 0.5837 MB / 0.5417 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.3332, allocations: 41.16 kB / 0.5417 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-05/0.3333, allocations: 55.28 kB / 0.5418 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.3345, allocations: 0.6171 MB / 0.5424 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.3345, allocations: 6.219 kB / 0.5424 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.3345, allocations: 16.47 kB / 0.5424 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.3346, allocations: 12.22 kB / 0.5424 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.3357, allocations: 469 kB / 0.5429 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/0.3394, allocations: 2.645 MB / 0.5455 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.3404, allocations: 0.5008 MB / 0.546 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/0.341, allocations: 273.2 kB / 0.5462 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/0.341, allocations: 8.172 kB / 0.5462 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.3411, allocations: 46.67 kB / 0.5463 GB, free: 1.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 1.793e-06/0.3411, allocations: 0 / 0.5463 GB, free: 1.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002511/0.3436, allocations: 1.143 MB / 0.5474 GB, free: 164 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.752e-05/0.3437, allocations: 162.2 kB / 0.5475 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008135/0.3445, allocations: 0.6529 MB / 0.5482 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.3446, allocations: 37.7 kB / 0.5482 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.3448, allocations: 368.7 kB / 0.5486 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.345, allocations: 177.5 kB / 0.5487 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.3452, allocations: 118.2 kB / 0.5488 GB, free: 14.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3453, allocations: 333.9 kB / 0.5492 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000652/0.346, allocations: 287.3 kB / 0.5494 GB, free: 13.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007577/0.3467, allocations: 452.2 kB / 0.5499 GB, free: 13.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.3481, allocations: 0.7097 MB / 0.5506 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3481, allocations: 0 / 0.5506 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00165/0.3498, allocations: 0.8272 MB / 0.5514 GB, free: 11.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3498, allocations: 8 kB / 0.5514 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3498, allocations: 4 kB / 0.5514 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3498, allocations: 11.94 kB / 0.5514 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009014/0.3507, allocations: 195.8 kB / 0.5516 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.3508, allocations: 8 kB / 0.5516 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/0.3513, allocations: 95.41 kB / 0.5517 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.3513, allocations: 24 kB / 0.5517 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007689/0.3521, allocations: 429.2 kB / 0.5521 GB, free: 11.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000681/0.3528, allocations: 429.3 kB / 0.5525 GB, free: 10.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001241/0.3541, allocations: 0.6844 MB / 0.5532 GB, free: 9.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.3541, allocations: 4 kB / 0.5532 GB, free: 9.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001551/0.3556, allocations: 0.8043 MB / 0.554 GB, free: 9.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3557, allocations: 10.19 kB / 0.554 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3557, allocations: 4 kB / 0.554 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.3557, allocations: 8 kB / 0.554 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008288/0.3565, allocations: 196.2 kB / 0.5542 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3565, allocations: 11.94 kB / 0.5542 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.3571, allocations: 79.53 kB / 0.5543 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.3571, allocations: 24 kB / 0.5543 GB, free: 8.734 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.0001718/0.3573, allocations: 220 kB / 0.5545 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.3575, allocations: 79.06 kB / 0.5546 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.3576, allocations: 98.83 kB / 0.5547 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3576, allocations: 7.938 kB / 0.5547 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3577, allocations: 4 kB / 0.5547 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.3577, allocations: 3.984 kB / 0.5547 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.3597, allocations: 1.248 MB / 0.5559 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3597, allocations: 0 / 0.5559 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/0.3604, allocations: 115.9 kB / 0.556 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.3604, allocations: 4 kB / 0.556 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/0.3604, allocations: 11.98 kB / 0.556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.3605, allocations: 4.062 kB / 0.556 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3605, allocations: 4.094 kB / 0.556 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.3626, allocations: 1.172 MB / 0.5572 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.3629, allocations: 196.1 kB / 0.5574 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.13e-05/0.363, allocations: 16 kB / 0.5574 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005612/0.3635, allocations: 51.94 kB / 0.5574 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3637, allocations: 39.94 kB / 0.5575 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.3637, allocations: 16 kB / 0.5575 GB, free: 5.336 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006491/0.3643, allocations: 459 kB / 0.5579 GB, free: 4.895 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3644, allocations: 0 / 0.5579 GB, free: 4.895 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008739/0.3652, allocations: 220 kB / 0.5581 GB, free: 4.68 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.002524/0.3678, allocations: 1.749 MB / 0.5598 GB, free: 2.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002228/0.37, allocations: 0.9891 MB / 0.5608 GB, free: 1.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.37, allocations: 0 / 0.5608 GB, free: 1.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006653/0.3707, allocations: 302.1 kB / 0.5611 GB, free: 1.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.3718, allocations: 191.2 kB / 0.5613 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.3825, allocations: 6.739 MB / 0.5679 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.383, allocations: 0.9501 MB / 0.5688 GB, free: 9.445 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005215/0.3835, allocations: 144.8 kB / 0.5689 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.3839, allocations: 267.3 kB / 0.5692 GB, free: 9.043 MB / 430.1 MB Notification: Performance of SimCode: time 1.994e-06/0.3839, allocations: 0 / 0.5692 GB, free: 9.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03888/0.4228, allocations: 15.85 MB / 0.5847 GB, free: 9.312 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.832/9.255, allocations: 7.938 kB / 0.5847 GB, free: 9.305 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)