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.001131/0.001131, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.000958/0.000958, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.256/1.256, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1881/0.1881, allocations: 43.53 MB / 314.1 MB, free: 444 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.001657/0.001657, allocations: 73.47 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09672/0.09839, allocations: 57.78 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004848/0.1033, allocations: 3.408 MB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003183/0.1065, allocations: 1.579 MB / 0.4923 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006346/0.1072, allocations: 27.88 kB / 0.4923 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006764/0.1079, allocations: 142.7 kB / 0.4924 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007545/0.1086, allocations: 202.6 kB / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.11, allocations: 0.5302 MB / 0.4931 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.1113, allocations: 0.9591 MB / 0.4941 GB, free: 5.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004288/0.1117, allocations: 226.4 kB / 0.4943 GB, free: 5.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.1123, allocations: 382.5 kB / 0.4947 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000565/0.1129, allocations: 410.1 kB / 0.4951 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.1131, allocations: 64 kB / 0.4951 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.1133, allocations: 175.7 kB / 0.4953 GB, free: 4.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.1135, allocations: 199.3 kB / 0.4955 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.1138, allocations: 349.8 kB / 0.4958 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009218/0.1147, allocations: 0.914 MB / 0.4967 GB, free: 2.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1148, allocations: 4 kB / 0.4967 GB, free: 2.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1148, allocations: 4 kB / 0.4967 GB, free: 2.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.577e-06/0.1148, allocations: 0 / 0.4967 GB, free: 2.672 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.002194/0.117, allocations: 1.194 MB / 0.4979 GB, free: 1.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.117, allocations: 19.83 kB / 0.4979 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.663e-05/0.1171, allocations: 78.72 kB / 0.498 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.1173, allocations: 104.3 kB / 0.4981 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008972/0.1182, allocations: 0.5903 MB / 0.4986 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.1182, allocations: 41.38 kB / 0.4987 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.624e-05/0.1183, allocations: 60.33 kB / 0.4987 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.1194, allocations: 0.6096 MB / 0.4993 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.1194, allocations: 4 kB / 0.4993 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.1195, allocations: 16 kB / 0.4994 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.1195, allocations: 12 kB / 0.4994 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.1205, allocations: 465.8 kB / 0.4998 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.1238, allocations: 2.651 MB / 0.5024 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009707/0.1248, allocations: 0.5041 MB / 0.5029 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005419/0.1253, allocations: 270.5 kB / 0.5032 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.1254, allocations: 4.234 kB / 0.5032 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1254, allocations: 42.8 kB / 0.5032 GB, free: 11.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.565e-06/0.1254, allocations: 0 / 0.5032 GB, free: 11.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002396/0.1278, allocations: 1.175 MB / 0.5043 GB, free: 10.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.1279, allocations: 136.5 kB / 0.5045 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007889/0.1287, allocations: 0.6607 MB / 0.5051 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.1287, allocations: 33.7 kB / 0.5052 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.129, allocations: 365.2 kB / 0.5055 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.1291, allocations: 190.4 kB / 0.5057 GB, free: 9.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.1293, allocations: 122.2 kB / 0.5058 GB, free: 9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1294, allocations: 333.9 kB / 0.5061 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006065/0.13, allocations: 287.3 kB / 0.5064 GB, free: 8.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006818/0.1307, allocations: 436.4 kB / 0.5068 GB, free: 7.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.132, allocations: 0.7152 MB / 0.5075 GB, free: 7.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.132, allocations: 4 kB / 0.5075 GB, free: 7.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001592/0.1336, allocations: 0.8205 MB / 0.5083 GB, free: 6.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1337, allocations: 8 kB / 0.5083 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.1337, allocations: 8 kB / 0.5083 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.1337, allocations: 8 kB / 0.5083 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008564/0.1346, allocations: 200.2 kB / 0.5085 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.1346, allocations: 11.98 kB / 0.5085 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005065/0.1351, allocations: 79.62 kB / 0.5086 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.1352, allocations: 27.98 kB / 0.5086 GB, free: 5.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007186/0.1359, allocations: 421.3 kB / 0.509 GB, free: 5.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006358/0.1365, allocations: 436.1 kB / 0.5095 GB, free: 5.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001178/0.1377, allocations: 0.6962 MB / 0.5101 GB, free: 4.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/0.1377, allocations: 4 kB / 0.5101 GB, free: 4.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001473/0.1392, allocations: 0.7969 MB / 0.5109 GB, free: 3.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1392, allocations: 10.66 kB / 0.5109 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1392, allocations: 4.531 kB / 0.5109 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-06/0.1393, allocations: 8 kB / 0.5109 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/0.1401, allocations: 191.8 kB / 0.5111 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.1401, allocations: 15.88 kB / 0.5111 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/0.1406, allocations: 83.61 kB / 0.5112 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.1406, allocations: 28 kB / 0.5112 GB, free: 3.148 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.0001971/0.1408, allocations: 212.1 kB / 0.5114 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.141, allocations: 83.48 kB / 0.5115 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.1412, allocations: 90.97 kB / 0.5116 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.1412, allocations: 7.938 kB / 0.5116 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.1412, allocations: 4 kB / 0.5116 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1412, allocations: 3.984 kB / 0.5116 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.143, allocations: 1.264 MB / 0.5129 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1431, allocations: 4 kB / 0.5129 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/0.1437, allocations: 103.9 kB / 0.513 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1437, allocations: 8 kB / 0.513 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.1438, allocations: 12 kB / 0.513 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.1438, allocations: 7.938 kB / 0.513 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1438, allocations: 4 kB / 0.513 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.1457, allocations: 1.173 MB / 0.5141 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.146, allocations: 204.4 kB / 0.5143 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.02e-05/0.1461, allocations: 19.92 kB / 0.5144 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/0.1466, allocations: 51.94 kB / 0.5144 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.1467, allocations: 39.89 kB / 0.5144 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.1467, allocations: 16 kB / 0.5145 GB, free: 15.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005901/0.1473, allocations: 463 kB / 0.5149 GB, free: 15.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1473, allocations: 0 / 0.5149 GB, free: 15.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008136/0.1482, allocations: 219.9 kB / 0.5151 GB, free: 15.08 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.00233/0.1505, allocations: 1.753 MB / 0.5168 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.1526, allocations: 0.9813 MB / 0.5178 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1526, allocations: 1 kB / 0.5178 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006322/0.1533, allocations: 299.8 kB / 0.5181 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.1544, allocations: 198.1 kB / 0.5183 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009867/0.1643, allocations: 6.753 MB / 0.5248 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.1648, allocations: 0.9501 MB / 0.5258 GB, free: 3.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005267/0.1653, allocations: 148.8 kB / 0.5259 GB, free: 3.676 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/0.1657, allocations: 267.3 kB / 0.5262 GB, free: 3.414 MB / 414.1 MB Notification: Performance of SimCode: time 1.803e-06/0.1657, allocations: 0 / 0.5262 GB, free: 3.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2355/0.4013, allocations: 15.72 MB / 0.5415 GB, free: 38.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/8.909, allocations: 3.25 kB / 0.5415 GB, free: 38.23 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)