Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_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.00135/0.00135, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001475/0.001475, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2819/0.2819, allocations: 43.52 MB / 314.1 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 76.38 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1332, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.005128/0.1384, allocations: 3.392 MB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003673/0.1421, allocations: 1.583 MB / 0.4923 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007786/0.143, allocations: 23.88 kB / 0.4923 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007367/0.1438, allocations: 146.7 kB / 0.4924 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.1448, allocations: 202.6 kB / 0.4926 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.1464, allocations: 0.5302 MB / 0.4931 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.148, allocations: 0.9552 MB / 0.4941 GB, free: 5.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005496/0.1486, allocations: 226.4 kB / 0.4943 GB, free: 5.199 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009678/0.1495, allocations: 390.5 kB / 0.4947 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000852/0.1504, allocations: 406.1 kB / 0.4951 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002868/0.1507, allocations: 60 kB / 0.4951 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.1512, allocations: 179.7 kB / 0.4953 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003433/0.1515, allocations: 203.2 kB / 0.4955 GB, free: 3.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005728/0.1521, allocations: 345.8 kB / 0.4958 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.1537, allocations: 0.914 MB / 0.4967 GB, free: 2.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1537, allocations: 0 / 0.4967 GB, free: 2.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1537, allocations: 7.938 kB / 0.4967 GB, free: 2.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.826e-05/0.1538, allocations: 4 kB / 0.4967 GB, free: 2.715 MB / 382.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.003158/0.1569, allocations: 1.198 MB / 0.4979 GB, free: 1.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.157, allocations: 11.89 kB / 0.4979 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001886/0.1572, allocations: 86.7 kB / 0.498 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.1574, allocations: 96.33 kB / 0.4981 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.1587, allocations: 0.598 MB / 0.4987 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.1587, allocations: 41.38 kB / 0.4987 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.1588, allocations: 60.33 kB / 0.4987 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.1601, allocations: 0.6058 MB / 0.4993 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.1601, allocations: 7.938 kB / 0.4993 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.1602, allocations: 16 kB / 0.4994 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.1602, allocations: 15.98 kB / 0.4994 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.1614, allocations: 465.8 kB / 0.4998 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.1653, allocations: 2.644 MB / 0.5024 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1664, allocations: 0.5041 MB / 0.5029 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.1671, allocations: 270.1 kB / 0.5032 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.09e-05/0.1671, allocations: 4.234 kB / 0.5032 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.1672, allocations: 46.73 kB / 0.5032 GB, free: 11.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.054e-06/0.1672, allocations: 0 / 0.5032 GB, free: 11.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.003155/0.1704, allocations: 1.163 MB / 0.5043 GB, free: 10.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.1705, allocations: 144.5 kB / 0.5045 GB, free: 10.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.1717, allocations: 0.6568 MB / 0.5051 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/0.1717, allocations: 37.7 kB / 0.5052 GB, free: 9.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.172, allocations: 365.2 kB / 0.5055 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.1722, allocations: 194.4 kB / 0.5057 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.1725, allocations: 118.3 kB / 0.5058 GB, free: 9.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1726, allocations: 333.9 kB / 0.5061 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006895/0.1733, allocations: 287.3 kB / 0.5064 GB, free: 8.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007759/0.1741, allocations: 444.3 kB / 0.5068 GB, free: 7.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.176, allocations: 0.7113 MB / 0.5075 GB, free: 7.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.1761, allocations: 4 kB / 0.5075 GB, free: 7.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002015/0.1781, allocations: 0.8243 MB / 0.5083 GB, free: 6.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.1781, allocations: 10.66 kB / 0.5083 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.1782, allocations: 4 kB / 0.5083 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.1782, allocations: 8 kB / 0.5083 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009339/0.1791, allocations: 196.2 kB / 0.5085 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-05/0.1792, allocations: 15.92 kB / 0.5085 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.18, allocations: 87.55 kB / 0.5086 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/0.1801, allocations: 27.98 kB / 0.5087 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009265/0.1811, allocations: 421.3 kB / 0.5091 GB, free: 5.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007642/0.1818, allocations: 432.2 kB / 0.5095 GB, free: 5.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001319/0.1832, allocations: 0.6962 MB / 0.5101 GB, free: 4.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.594e-06/0.1832, allocations: 4 kB / 0.5101 GB, free: 4.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001886/0.1851, allocations: 0.793 MB / 0.5109 GB, free: 3.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1851, allocations: 8 kB / 0.5109 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.1851, allocations: 4.531 kB / 0.5109 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1852, allocations: 8 kB / 0.5109 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.186, allocations: 195.7 kB / 0.5111 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.1861, allocations: 15.92 kB / 0.5111 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006772/0.1867, allocations: 79.62 kB / 0.5112 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/0.1868, allocations: 28 kB / 0.5112 GB, free: 3.191 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.0003003/0.1871, allocations: 216 kB / 0.5115 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.1874, allocations: 87.5 kB / 0.5115 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.1877, allocations: 90.98 kB / 0.5116 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.1877, allocations: 7.938 kB / 0.5116 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.1877, allocations: 0 / 0.5116 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.1877, allocations: 7.984 kB / 0.5116 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.19, allocations: 1.26 MB / 0.5129 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.19, allocations: 0 / 0.5129 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006701/0.1907, allocations: 107.9 kB / 0.513 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.1907, allocations: 8.062 kB / 0.513 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.043e-05/0.1908, allocations: 12 kB / 0.513 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.1908, allocations: 7.984 kB / 0.513 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.1908, allocations: 0 / 0.513 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.1931, allocations: 1.176 MB / 0.5141 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.1934, allocations: 200.5 kB / 0.5143 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.1936, allocations: 23.92 kB / 0.5144 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.1942, allocations: 55.94 kB / 0.5144 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.1943, allocations: 35.95 kB / 0.5145 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.1943, allocations: 15.98 kB / 0.5145 GB, free: 15.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007575/0.1951, allocations: 463 kB / 0.5149 GB, free: 15.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1951, allocations: 0 / 0.5149 GB, free: 15.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001013/0.1961, allocations: 219.9 kB / 0.5151 GB, free: 15.11 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.002707/0.1989, allocations: 1.745 MB / 0.5168 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.2013, allocations: 0.9854 MB / 0.5178 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.2013, allocations: 0 / 0.5178 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006966/0.202, allocations: 300.6 kB / 0.5181 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.2033, allocations: 190.6 kB / 0.5183 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.2151, allocations: 6.764 MB / 0.5249 GB, free: 4.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.2157, allocations: 0.9501 MB / 0.5258 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006095/0.2163, allocations: 148.8 kB / 0.5259 GB, free: 3.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/0.2168, allocations: 263.4 kB / 0.5262 GB, free: 3.457 MB / 414.1 MB Notification: Performance of SimCode: time 1.733e-06/0.2168, allocations: 0 / 0.5262 GB, free: 3.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3583/0.5751, allocations: 15.72 MB / 0.5415 GB, free: 38.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.471/10.05, allocations: 1.75 kB / 0.5415 GB, free: 38.86 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)