Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001704, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002052/0.002052, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.637/1.637, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2504/0.2504, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.00224/0.00224, allocations: 85.31 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1565, allocations: 62.44 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.00562/0.1622, allocations: 3.542 MB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003124/0.1654, allocations: 1.477 MB / 485.2 MB, free: 100 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.1658, allocations: 27.88 kB / 485.2 MB, free: 72 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.1662, allocations: 114.8 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004995/0.1667, allocations: 150.6 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.1681, allocations: 0.6316 MB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.1692, allocations: 0.9249 MB / 487.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005202/0.1698, allocations: 308.8 kB / 487.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005322/0.1703, allocations: 366.4 kB / 487.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.1707, allocations: 358.1 kB / 488.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.1708, allocations: 72 kB / 488.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.171, allocations: 87.98 kB / 488.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.1712, allocations: 167.4 kB / 488.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.1715, allocations: 373.6 kB / 488.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009974/0.1725, allocations: 0.8057 MB / 489.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1726, allocations: 4 kB / 489.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1726, allocations: 0 / 489.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1726, allocations: 0 / 489.6 MB, free: 11.73 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002468/0.1751, allocations: 1.199 MB / 490.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.1751, allocations: 8.031 kB / 490.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.1753, allocations: 94.7 kB / 490.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006404/0.1759, allocations: 135.8 kB / 491 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009956/0.1769, allocations: 0.5661 MB / 491.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/0.177, allocations: 41.38 kB / 491.6 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.1771, allocations: 52.38 kB / 491.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.1787, allocations: 0.7206 MB / 492.4 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1788, allocations: 0 / 492.4 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.1789, allocations: 24 kB / 492.4 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.1789, allocations: 12 kB / 492.4 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.1804, allocations: 0.5581 MB / 493 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00401/0.1844, allocations: 2.302 MB / 495.3 MB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.1864, allocations: 0.7173 MB / 496 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000837/0.1872, allocations: 322.2 kB / 496.3 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.163e-05/0.1873, allocations: 16.31 kB / 496.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.1874, allocations: 42.94 kB / 496.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.525e-06/0.1874, allocations: 0 / 496.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004944/0.1923, allocations: 1.926 MB / 498.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001862/0.1925, allocations: 235.8 kB / 498.5 MB, free: 2.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007786/0.1933, allocations: 0.5748 MB / 499.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.1934, allocations: 37.7 kB / 499.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.1937, allocations: 364.8 kB / 499.5 MB, free: 1.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.1939, allocations: 177.4 kB / 499.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.1941, allocations: 114.2 kB / 499.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1943, allocations: 326 kB / 0.4884 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008231/0.1951, allocations: 298.9 kB / 0.4886 GB, free: 480 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009572/0.1961, allocations: 431.6 kB / 0.4891 GB, free: 16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.1977, allocations: 0.6551 MB / 0.4897 GB, free: 15.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1977, allocations: 3.938 kB / 0.4897 GB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002007/0.1997, allocations: 0.7946 MB / 0.4905 GB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1998, allocations: 6.656 kB / 0.4905 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1998, allocations: 4 kB / 0.4905 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.1998, allocations: 7.938 kB / 0.4905 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008637/0.2007, allocations: 196 kB / 0.4907 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.2007, allocations: 4 kB / 0.4907 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.2013, allocations: 75.91 kB / 0.4908 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.2013, allocations: 23.98 kB / 0.4908 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008017/0.2021, allocations: 365.1 kB / 0.4911 GB, free: 13.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006995/0.2029, allocations: 365.4 kB / 0.4915 GB, free: 13.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001227/0.2041, allocations: 0.5437 MB / 0.492 GB, free: 12.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.6e-06/0.2041, allocations: 7.938 kB / 0.492 GB, free: 12.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001431/0.2055, allocations: 0.6514 MB / 0.4927 GB, free: 12.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2056, allocations: 12.06 kB / 0.4927 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.2056, allocations: 0 / 0.4927 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.2056, allocations: 8 kB / 0.4927 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.2063, allocations: 163.8 kB / 0.4928 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2063, allocations: 7.938 kB / 0.4928 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.2068, allocations: 63.94 kB / 0.4929 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.2068, allocations: 20 kB / 0.4929 GB, free: 11.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002185/0.207, allocations: 216.1 kB / 0.4931 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.2072, allocations: 79.33 kB / 0.4932 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.2074, allocations: 87.38 kB / 0.4933 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.2074, allocations: 15.98 kB / 0.4933 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.2074, allocations: 0 / 0.4933 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.2074, allocations: 3.984 kB / 0.4933 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.2103, allocations: 1.452 MB / 0.4947 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.2103, allocations: 7.938 kB / 0.4947 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006988/0.211, allocations: 147.9 kB / 0.4949 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.2111, allocations: 4 kB / 0.4949 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.2111, allocations: 11.98 kB / 0.4949 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.2111, allocations: 4 kB / 0.4949 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2111, allocations: 0 / 0.4949 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/0.2145, allocations: 1.259 MB / 0.4961 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.2148, allocations: 184.2 kB / 0.4963 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.41e-05/0.2149, allocations: 12 kB / 0.4963 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/0.2155, allocations: 83.91 kB / 0.4964 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.2157, allocations: 43.88 kB / 0.4964 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.2157, allocations: 15.98 kB / 0.4964 GB, free: 8.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005945/0.2163, allocations: 407 kB / 0.4968 GB, free: 7.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2163, allocations: 0 / 0.4968 GB, free: 7.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007312/0.2171, allocations: 180 kB / 0.497 GB, free: 7.609 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.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 (50): * Single equations (assignments): 50 * 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.003229/0.2203, allocations: 1.808 MB / 0.4988 GB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003103/0.2234, allocations: 1.005 MB / 0.4997 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.2235, allocations: 0 / 0.4997 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.2249, allocations: 352 kB / 0.5001 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.2268, allocations: 218.5 kB / 0.5003 GB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1927/0.4196, allocations: 6.366 MB / 0.5065 GB, free: 40.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.4199, allocations: 0.9234 MB / 0.5074 GB, free: 40.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004048/0.4203, allocations: 94.14 kB / 0.5075 GB, free: 40.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.4206, allocations: 275.7 kB / 0.5078 GB, free: 40.02 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4206, allocations: 1.312 kB / 0.5078 GB, free: 40.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2209/0.6415, allocations: 15.27 MB / 0.5227 GB, free: 35.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.7, allocations: 8.969 kB / 0.5227 GB, free: 35.45 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1)