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.001251/0.001251, allocations: 111.7 kB / 17.78 MB, free: 5.281 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.001367/0.001367, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.441/1.441, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.1963/0.1963, allocations: 44.19 MB / 336.8 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.88 kB / 470.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2972, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004259/0.3015, allocations: 3.369 MB / 0.5217 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.3048, allocations: 1.542 MB / 0.5232 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.3059, allocations: 22.91 kB / 0.5233 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.3067, allocations: 142.3 kB / 0.5234 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000762/0.3075, allocations: 203 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.3089, allocations: 0.531 MB / 0.5241 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.3104, allocations: 0.9534 MB / 0.525 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.3108, allocations: 231.4 kB / 0.5253 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006429/0.3114, allocations: 373.1 kB / 0.5256 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005887/0.312, allocations: 411.3 kB / 0.526 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.3122, allocations: 62 kB / 0.5261 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.3125, allocations: 177.4 kB / 0.5262 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.3127, allocations: 200.2 kB / 0.5264 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.3131, allocations: 344 kB / 0.5267 GB, free: 14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.3142, allocations: 0.9205 MB / 0.5276 GB, free: 13.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3142, allocations: 5.312 kB / 0.5277 GB, free: 13.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3142, allocations: 0 / 0.5277 GB, free: 13.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.3142, allocations: 0 / 0.5277 GB, free: 13.33 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.002429/0.3166, allocations: 1.188 MB / 0.5288 GB, free: 12.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3167, allocations: 9.312 kB / 0.5288 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.3168, allocations: 90.3 kB / 0.5289 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.317, allocations: 95.95 kB / 0.529 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.3181, allocations: 0.5875 MB / 0.5296 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.3181, allocations: 37.19 kB / 0.5296 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.812e-05/0.3182, allocations: 59.23 kB / 0.5297 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.3193, allocations: 0.6145 MB / 0.5303 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.3194, allocations: 1.188 kB / 0.5303 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.3194, allocations: 21.12 kB / 0.5303 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.3195, allocations: 12 kB / 0.5303 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.3206, allocations: 470.1 kB / 0.5307 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.3244, allocations: 2.648 MB / 0.5333 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.3256, allocations: 0.5008 MB / 0.5338 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.3262, allocations: 265.1 kB / 0.5341 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.3262, allocations: 5.672 kB / 0.5341 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.3263, allocations: 37.73 kB / 0.5341 GB, free: 8.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.495e-06/0.3263, allocations: 0 / 0.5341 GB, free: 8.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002882/0.3292, allocations: 1.173 MB / 0.5353 GB, free: 7.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.3293, allocations: 137.2 kB / 0.5354 GB, free: 7.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.3303, allocations: 0.6543 MB / 0.536 GB, free: 7.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.3304, allocations: 38.95 kB / 0.5361 GB, free: 7.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.3307, allocations: 358.4 kB / 0.5364 GB, free: 6.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.3309, allocations: 192 kB / 0.5366 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.3311, allocations: 123.1 kB / 0.5367 GB, free: 6.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3312, allocations: 332.7 kB / 0.537 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007158/0.332, allocations: 288.7 kB / 0.5373 GB, free: 6.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000802/0.3328, allocations: 433.6 kB / 0.5377 GB, free: 5.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.3343, allocations: 0.7169 MB / 0.5384 GB, free: 5.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3343, allocations: 1 kB / 0.5384 GB, free: 5.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001972/0.3362, allocations: 0.8284 MB / 0.5392 GB, free: 4.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.3363, allocations: 11.84 kB / 0.5392 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.3363, allocations: 8.5 kB / 0.5392 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.3364, allocations: 7.719 kB / 0.5393 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009746/0.3373, allocations: 198.9 kB / 0.5394 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.3374, allocations: 11.16 kB / 0.5395 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/0.3381, allocations: 85.98 kB / 0.5395 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.3381, allocations: 23.44 kB / 0.5396 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009071/0.339, allocations: 426.5 kB / 0.54 GB, free: 4.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000808/0.3399, allocations: 432.6 kB / 0.5404 GB, free: 4.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001469/0.3413, allocations: 0.6831 MB / 0.541 GB, free: 3.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.99e-06/0.3414, allocations: 1.75 kB / 0.541 GB, free: 3.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001966/0.3433, allocations: 0.8078 MB / 0.5418 GB, free: 3.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3434, allocations: 6.656 kB / 0.5418 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3434, allocations: 4.812 kB / 0.5418 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3434, allocations: 7.062 kB / 0.5419 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008765/0.3443, allocations: 189.8 kB / 0.542 GB, free: 3.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.3443, allocations: 23.81 kB / 0.5421 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006339/0.3449, allocations: 79.67 kB / 0.5421 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.345, allocations: 24 kB / 0.5422 GB, free: 3.238 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.0002476/0.3453, allocations: 212.1 kB / 0.5424 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.3455, allocations: 79.48 kB / 0.5424 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.3457, allocations: 98.89 kB / 0.5425 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3458, allocations: 7.938 kB / 0.5425 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.3458, allocations: 0 / 0.5425 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3458, allocations: 4 kB / 0.5425 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.3481, allocations: 1.264 MB / 0.5438 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.3481, allocations: 0 / 0.5438 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000675/0.3488, allocations: 107.9 kB / 0.5439 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3488, allocations: 0 / 0.5439 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.3488, allocations: 19.98 kB / 0.5439 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.3489, allocations: 7.938 kB / 0.5439 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3489, allocations: 96 / 0.5439 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.3509, allocations: 1.177 MB / 0.5451 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.3512, allocations: 200.5 kB / 0.5452 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.414e-05/0.3513, allocations: 16 kB / 0.5453 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.3519, allocations: 43.94 kB / 0.5453 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.352, allocations: 47.88 kB / 0.5453 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.3521, allocations: 16 kB / 0.5454 GB, free: 15.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006532/0.3527, allocations: 455 kB / 0.5458 GB, free: 15.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3527, allocations: 0 / 0.5458 GB, free: 15.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001005/0.3537, allocations: 223.9 kB / 0.546 GB, free: 15.17 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.002647/0.3564, allocations: 1.763 MB / 0.5477 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.3588, allocations: 0.99 MB / 0.5487 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3588, allocations: 3.938 kB / 0.5487 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006816/0.3595, allocations: 287.7 kB / 0.549 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.3607, allocations: 195.3 kB / 0.5492 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.371, allocations: 6.735 MB / 0.5557 GB, free: 4.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.3716, allocations: 0.9539 MB / 0.5567 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005253/0.3721, allocations: 152.8 kB / 0.5568 GB, free: 3.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.3725, allocations: 259.3 kB / 0.5571 GB, free: 3.531 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3725, allocations: 0 / 0.5571 GB, free: 3.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04085/0.4133, allocations: 15.65 MB / 0.5723 GB, free: 4.047 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.195/9.608, allocations: 11.92 kB / 0.5724 GB, free: 4.035 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)