Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.0016, 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.001841/0.001841, 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.742/1.742, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.11 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.002135/0.002135, allocations: 82.58 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.159, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.005599/0.1647, allocations: 3.361 MB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004174/0.1689, allocations: 1.594 MB / 485.2 MB, free: 156 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005978/0.1695, allocations: 23.88 kB / 485.2 MB, free: 132 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.17, allocations: 138.8 kB / 485.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004929/0.1705, allocations: 182.6 kB / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.1719, allocations: 0.5366 MB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.173, allocations: 0.8928 MB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.1734, allocations: 226.4 kB / 487.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005311/0.1739, allocations: 370.4 kB / 487.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004965/0.1744, allocations: 394.1 kB / 487.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.1746, allocations: 63.94 kB / 488 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1747, allocations: 68 kB / 488 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.175, allocations: 203.3 kB / 488.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003526/0.1753, allocations: 337.8 kB / 488.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009578/0.1763, allocations: 0.7434 MB / 489.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.1763, allocations: 7.984 kB / 489.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1763, allocations: 0 / 489.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.1764, allocations: 0 / 489.3 MB, free: 11.98 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.002766/0.1791, allocations: 1.152 MB / 490.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1792, allocations: 13.05 kB / 490.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.1793, allocations: 86.7 kB / 490.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.1797, allocations: 99.81 kB / 490.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.1808, allocations: 0.5546 MB / 491.2 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.1809, allocations: 37.38 kB / 491.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.181, allocations: 60.27 kB / 491.3 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.1824, allocations: 0.6261 MB / 491.9 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.1824, allocations: 4 kB / 491.9 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.1825, allocations: 20 kB / 492 MB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.1825, allocations: 12 kB / 492 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.1837, allocations: 465.8 kB / 492.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/0.1877, allocations: 2.62 MB / 495 MB, free: 6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.189, allocations: 0.5564 MB / 495.6 MB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005839/0.1896, allocations: 254.4 kB / 495.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.403e-05/0.1896, allocations: 4 kB / 495.8 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.1897, allocations: 42.56 kB / 495.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.276e-06/0.1897, allocations: 0 / 495.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00271/0.1924, allocations: 1.138 MB / 497 MB, free: 3.961 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.1925, allocations: 166.2 kB / 497.2 MB, free: 3.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009675/0.1935, allocations: 0.6568 MB / 497.8 MB, free: 3.094 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.1936, allocations: 33.7 kB / 497.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.1939, allocations: 364 kB / 498.2 MB, free: 2.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.1941, allocations: 169.5 kB / 498.4 MB, free: 2.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.1943, allocations: 118.2 kB / 498.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1945, allocations: 333.9 kB / 498.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/0.1951, allocations: 263.3 kB / 499.1 MB, free: 1.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007988/0.196, allocations: 433.5 kB / 499.5 MB, free: 1.316 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.1973, allocations: 0.6662 MB / 0.4885 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1973, allocations: 3.938 kB / 0.4885 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00183/0.1992, allocations: 0.8189 MB / 0.4893 GB, free: 15.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.1992, allocations: 8 kB / 0.4893 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1992, allocations: 4 kB / 0.4893 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/0.1995, allocations: 61.22 kB / 0.4893 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008627/0.2003, allocations: 195.7 kB / 0.4895 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.202, allocations: 1.605 MB / 0.4911 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005942/0.2026, allocations: 83.75 kB / 0.4912 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.2027, allocations: 20 kB / 0.4912 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008203/0.2035, allocations: 401.3 kB / 0.4916 GB, free: 13.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000716/0.2042, allocations: 417.2 kB / 0.492 GB, free: 12.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001256/0.2055, allocations: 0.6546 MB / 0.4926 GB, free: 12.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.2055, allocations: 0 / 0.4926 GB, free: 12.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001707/0.2072, allocations: 0.7965 MB / 0.4934 GB, free: 11.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2072, allocations: 8 kB / 0.4934 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2072, allocations: 4 kB / 0.4934 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/0.2074, allocations: 56.81 kB / 0.4935 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008126/0.2082, allocations: 196.2 kB / 0.4936 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.2099, allocations: 1.61 MB / 0.4952 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/0.2105, allocations: 83.72 kB / 0.4953 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.2105, allocations: 23.94 kB / 0.4953 GB, free: 9.141 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 (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.2108, allocations: 220 kB / 0.4955 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.211, allocations: 79.09 kB / 0.4956 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.2112, allocations: 90.2 kB / 0.4957 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2112, allocations: 4 kB / 0.4957 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2112, allocations: 4 kB / 0.4957 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2112, allocations: 0 / 0.4957 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.2126, allocations: 0.8608 MB / 0.4965 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2126, allocations: 0 / 0.4965 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006201/0.2132, allocations: 107.9 kB / 0.4966 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2132, allocations: 4 kB / 0.4966 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.2133, allocations: 12 kB / 0.4967 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.2133, allocations: 8 kB / 0.4967 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2133, allocations: 0 / 0.4967 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.2154, allocations: 1.133 MB / 0.4978 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.2157, allocations: 196.2 kB / 0.498 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.463e-05/0.2158, allocations: 16 kB / 0.498 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/0.2163, allocations: 47.94 kB / 0.498 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.2164, allocations: 35.89 kB / 0.498 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.2165, allocations: 19.98 kB / 0.4981 GB, free: 6.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000724/0.2172, allocations: 463 kB / 0.4985 GB, free: 5.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2172, allocations: 0 / 0.4985 GB, free: 5.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008138/0.218, allocations: 195.9 kB / 0.4987 GB, free: 5.566 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.002456/0.2205, allocations: 1.696 MB / 0.5004 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002803/0.2233, allocations: 1.225 MB / 0.5015 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2233, allocations: 3.938 kB / 0.5016 GB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.224, allocations: 279.9 kB / 0.5018 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.2251, allocations: 187.1 kB / 0.502 GB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2656/0.4907, allocations: 6.913 MB / 0.5087 GB, free: 39.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.4913, allocations: 0.9561 MB / 0.5097 GB, free: 38.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005912/0.4919, allocations: 136 kB / 0.5098 GB, free: 38.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.4922, allocations: 258.9 kB / 0.5101 GB, free: 38.25 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4922, allocations: 2.734 kB / 0.5101 GB, free: 38.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.066/0.5583, allocations: 15.22 MB / 0.5249 GB, free: 33.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.56, allocations: 8.75 kB / 0.5249 GB, free: 33.48 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1)