Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 114.4 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 187.8 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4385, allocations: 60.81 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004633/0.4432, allocations: 3.38 MB / 0.5217 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003314/0.4465, allocations: 1.541 MB / 0.5232 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004485/0.447, allocations: 22.25 kB / 0.5233 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005668/0.4476, allocations: 150 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005019/0.4481, allocations: 192.4 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.4499, allocations: 0.5186 MB / 0.5241 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.4514, allocations: 0.9533 MB / 0.525 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004835/0.4519, allocations: 230.6 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005465/0.4525, allocations: 369.1 kB / 0.5256 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000579/0.4531, allocations: 412.1 kB / 0.526 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.4532, allocations: 65.48 kB / 0.526 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.4535, allocations: 173.9 kB / 0.5262 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.4537, allocations: 196.1 kB / 0.5264 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003452/0.4541, allocations: 348.8 kB / 0.5267 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009981/0.4551, allocations: 0.9112 MB / 0.5276 GB, free: 13.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4551, allocations: 0 / 0.5276 GB, free: 13.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.4551, allocations: 1.344 kB / 0.5276 GB, free: 13.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.4551, allocations: 7.938 kB / 0.5276 GB, free: 13.34 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.002467/0.4576, allocations: 1.161 MB / 0.5288 GB, free: 12.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.4577, allocations: 9.5 kB / 0.5288 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.4578, allocations: 85.58 kB / 0.5289 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.458, allocations: 92.44 kB / 0.5289 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.459, allocations: 0.5816 MB / 0.5295 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.4591, allocations: 38.56 kB / 0.5295 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.4592, allocations: 62.03 kB / 0.5296 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.4604, allocations: 0.6071 MB / 0.5302 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.4605, allocations: 9.984 kB / 0.5302 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.517e-05/0.4605, allocations: 25.41 kB / 0.5302 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.4606, allocations: 10.66 kB / 0.5302 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.4617, allocations: 465.9 kB / 0.5307 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.4657, allocations: 2.641 MB / 0.5333 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.4667, allocations: 0.5057 MB / 0.5338 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005758/0.4673, allocations: 259.9 kB / 0.534 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.168e-05/0.4674, allocations: 11.19 kB / 0.534 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.4674, allocations: 41.55 kB / 0.5341 GB, free: 8.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 1.994e-06/0.4674, allocations: 4 kB / 0.5341 GB, free: 8.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.00273/0.4702, allocations: 1.141 MB / 0.5352 GB, free: 7.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/0.4703, allocations: 138.2 kB / 0.5353 GB, free: 7.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009118/0.4712, allocations: 0.6454 MB / 0.5359 GB, free: 7.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.4712, allocations: 39.69 kB / 0.536 GB, free: 7.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.4715, allocations: 361.8 kB / 0.5363 GB, free: 6.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.4718, allocations: 174.8 kB / 0.5365 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.472, allocations: 119.5 kB / 0.5366 GB, free: 6.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4721, allocations: 332 kB / 0.5369 GB, free: 6.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006733/0.4728, allocations: 288.6 kB / 0.5372 GB, free: 6.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007712/0.4736, allocations: 442.2 kB / 0.5376 GB, free: 5.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.475, allocations: 0.7168 MB / 0.5383 GB, free: 5.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.475, allocations: 1.094 kB / 0.5383 GB, free: 5.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001749/0.4768, allocations: 0.8259 MB / 0.5391 GB, free: 5.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.4768, allocations: 6.906 kB / 0.5391 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.4768, allocations: 4.594 kB / 0.5391 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.4769, allocations: 7.344 kB / 0.5391 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008928/0.4778, allocations: 195.2 kB / 0.5393 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.4778, allocations: 19.14 kB / 0.5393 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.4783, allocations: 82.81 kB / 0.5394 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.4784, allocations: 22.56 kB / 0.5394 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008227/0.4792, allocations: 422.3 kB / 0.5398 GB, free: 4.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007182/0.48, allocations: 430.8 kB / 0.5403 GB, free: 4.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001293/0.4813, allocations: 0.69 MB / 0.5409 GB, free: 3.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.048e-06/0.4813, allocations: 2.188 kB / 0.5409 GB, free: 3.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001668/0.483, allocations: 0.7946 MB / 0.5417 GB, free: 3.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.483, allocations: 7.25 kB / 0.5417 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.483, allocations: 8.25 kB / 0.5417 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.483, allocations: 8.719 kB / 0.5417 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/0.4838, allocations: 197.2 kB / 0.5419 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.4839, allocations: 19.86 kB / 0.5419 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.4844, allocations: 75.55 kB / 0.542 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.4844, allocations: 24 kB / 0.542 GB, free: 3.281 MB / 398.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.0002279/0.4847, allocations: 220 kB / 0.5422 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.4848, allocations: 79.05 kB / 0.5423 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.485, allocations: 90.91 kB / 0.5424 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.485, allocations: 7.938 kB / 0.5424 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.4851, allocations: 48 / 0.5424 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.4851, allocations: 11.97 kB / 0.5424 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.4872, allocations: 1.264 MB / 0.5437 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4872, allocations: 4 kB / 0.5437 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.4878, allocations: 107.9 kB / 0.5438 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4878, allocations: 0 / 0.5438 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.4879, allocations: 20.06 kB / 0.5438 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.4879, allocations: 4 kB / 0.5438 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4879, allocations: 3.984 kB / 0.5438 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.49, allocations: 1.168 MB / 0.5449 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.4903, allocations: 188.3 kB / 0.5451 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.4904, allocations: 20.06 kB / 0.5451 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/0.491, allocations: 43.94 kB / 0.5452 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.4911, allocations: 43.95 kB / 0.5452 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.4911, allocations: 12 kB / 0.5452 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006574/0.4918, allocations: 463 kB / 0.5457 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4918, allocations: 0 / 0.5457 GB, free: 15.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009263/0.4928, allocations: 220 kB / 0.5459 GB, free: 15.22 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.002661/0.4954, allocations: 1.753 MB / 0.5476 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002445/0.4979, allocations: 0.9891 MB / 0.5486 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4979, allocations: 0 / 0.5486 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000688/0.4986, allocations: 295.3 kB / 0.5488 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.4998, allocations: 195.1 kB / 0.549 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.5103, allocations: 6.709 MB / 0.5556 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.5109, allocations: 0.9539 MB / 0.5565 GB, free: 4.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005455/0.5114, allocations: 148.8 kB / 0.5567 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.5118, allocations: 259.3 kB / 0.5569 GB, free: 3.621 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5119, allocations: 0 / 0.5569 GB, free: 3.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04403/0.5559, allocations: 15.93 MB / 0.5725 GB, free: 3.859 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.134/9.69, allocations: 7.922 kB / 0.5725 GB, free: 3.852 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)