Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002593/0.002592, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00269/0.00269, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.942/1.942, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2967/0.2967, allocations: 46.13 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 83.06 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.159, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.00567/0.1648, allocations: 3.345 MB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004721/0.1695, allocations: 1.591 MB / 485.1 MB, free: 204 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006883/0.1703, allocations: 19.88 kB / 485.2 MB, free: 184 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006741/0.171, allocations: 146.7 kB / 485.3 MB, free: 36 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005823/0.1716, allocations: 186.6 kB / 485.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.1732, allocations: 0.545 MB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.1744, allocations: 0.8929 MB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004793/0.1749, allocations: 242.3 kB / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005885/0.1755, allocations: 354.5 kB / 487.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.176, allocations: 394.1 kB / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.1761, allocations: 64 kB / 487.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1763, allocations: 71.98 kB / 488 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.1766, allocations: 203.3 kB / 488.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.177, allocations: 345.8 kB / 488.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.178, allocations: 0.7512 MB / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.105e-05/0.1781, allocations: 4 kB / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1781, allocations: 0 / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.1781, allocations: 0 / 489.3 MB, free: 12 MB / 366.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.002929/0.181, allocations: 1.154 MB / 490.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.621e-05/0.1811, allocations: 9.109 kB / 490.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.1813, allocations: 86.7 kB / 490.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.1816, allocations: 95.89 kB / 490.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.1828, allocations: 0.5623 MB / 491.2 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.1828, allocations: 41.38 kB / 491.3 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.183, allocations: 52.28 kB / 491.3 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.1843, allocations: 0.63 MB / 491.9 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.1844, allocations: 0 / 491.9 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/0.1844, allocations: 23.94 kB / 492 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.1845, allocations: 12 kB / 492 MB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.1856, allocations: 465.8 kB / 492.4 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/0.1898, allocations: 2.659 MB / 495.1 MB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.191, allocations: 0.5479 MB / 495.6 MB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005665/0.1916, allocations: 254.4 kB / 495.9 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.1916, allocations: 4 kB / 495.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.1917, allocations: 46.59 kB / 495.9 MB, free: 5.086 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.673e-06/0.1917, allocations: 0 / 495.9 MB, free: 5.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002714/0.1944, allocations: 1.127 MB / 497.1 MB, free: 3.949 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.1945, allocations: 178.3 kB / 497.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009415/0.1955, allocations: 0.649 MB / 497.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.1955, allocations: 33.7 kB / 497.9 MB, free: 3.039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.1959, allocations: 364 kB / 498.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.1961, allocations: 169.5 kB / 498.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.1963, allocations: 118.2 kB / 498.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1965, allocations: 333.9 kB / 498.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006625/0.1972, allocations: 271.3 kB / 499.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008043/0.198, allocations: 440.8 kB / 499.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.1994, allocations: 0.6725 MB / 0.4885 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1994, allocations: 0 / 0.4885 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001742/0.2011, allocations: 0.7978 MB / 0.4893 GB, free: 15.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.2012, allocations: 8 kB / 0.4893 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.2012, allocations: 4 kB / 0.4893 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.2012, allocations: 11.94 kB / 0.4893 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.2019, allocations: 156.3 kB / 0.4895 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.2019, allocations: 11.94 kB / 0.4895 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.2025, allocations: 71.62 kB / 0.4895 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.2025, allocations: 24 kB / 0.4896 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000821/0.2033, allocations: 421.2 kB / 0.49 GB, free: 15.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007374/0.2041, allocations: 413.3 kB / 0.4904 GB, free: 14.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001276/0.2054, allocations: 0.6571 MB / 0.491 GB, free: 13.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.642e-06/0.2054, allocations: 4 kB / 0.491 GB, free: 13.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001577/0.207, allocations: 0.7645 MB / 0.4918 GB, free: 13.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.207, allocations: 8.531 kB / 0.4918 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.207, allocations: 4 kB / 0.4918 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.207, allocations: 12 kB / 0.4918 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/0.2076, allocations: 147.7 kB / 0.4919 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.2077, allocations: 15.92 kB / 0.4919 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.2082, allocations: 79.55 kB / 0.492 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.2083, allocations: 24 kB / 0.492 GB, free: 12.81 MB / 382.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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0002813/0.2086, allocations: 224 kB / 0.4923 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.2087, allocations: 75.06 kB / 0.4923 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.209, allocations: 90.16 kB / 0.4924 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.209, allocations: 11.97 kB / 0.4924 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.209, allocations: 4 kB / 0.4924 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.209, allocations: 3.984 kB / 0.4924 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.2105, allocations: 0.8493 MB / 0.4933 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2105, allocations: 3.938 kB / 0.4933 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/0.2112, allocations: 103.9 kB / 0.4934 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.2112, allocations: 4 kB / 0.4934 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.2113, allocations: 11.98 kB / 0.4934 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.2113, allocations: 7.938 kB / 0.4934 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2113, allocations: 0 / 0.4934 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.2134, allocations: 1.136 MB / 0.4945 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.2137, allocations: 196.1 kB / 0.4947 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.98e-05/0.2138, allocations: 19.98 kB / 0.4947 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.2143, allocations: 47.94 kB / 0.4947 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.2144, allocations: 35.95 kB / 0.4948 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.2145, allocations: 12 kB / 0.4948 GB, free: 9.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007076/0.2152, allocations: 467 kB / 0.4952 GB, free: 9.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.024e-06/0.2152, allocations: 0 / 0.4952 GB, free: 9.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007826/0.216, allocations: 191.9 kB / 0.4954 GB, free: 9.246 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (44): * Single equations (assignments): 44 * 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.002491/0.2185, allocations: 1.69 MB / 0.4971 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002359/0.2209, allocations: 0.9968 MB / 0.498 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2209, allocations: 1.062 kB / 0.498 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000636/0.2215, allocations: 287.6 kB / 0.4983 GB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.2226, allocations: 182.3 kB / 0.4985 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2642/0.4868, allocations: 6.877 MB / 0.5052 GB, free: 40.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.4874, allocations: 0.9517 MB / 0.5061 GB, free: 39.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007016/0.4881, allocations: 152.3 kB / 0.5063 GB, free: 39.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/0.4885, allocations: 258.9 kB / 0.5065 GB, free: 39.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.683e-06/0.4885, allocations: 0 / 0.5065 GB, free: 39.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05575/0.5442, allocations: 14.32 MB / 0.5205 GB, free: 35.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.821, allocations: 8.234 kB / 0.5205 GB, free: 35.76 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.pipe 2>&1)