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.001624/0.001624, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001729/0.001729, allocations: 189.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.455/1.455, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2181/0.2181, allocations: 43.53 MB / 314.1 MB, free: 468 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.002169/0.002169, allocations: 71.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1118, allocations: 57.78 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004974/0.1168, allocations: 3.4 MB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.1199, allocations: 1.578 MB / 0.4923 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003967/0.1203, allocations: 23.88 kB / 0.4923 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005254/0.1208, allocations: 146.7 kB / 0.4924 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.1214, allocations: 206.5 kB / 0.4926 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1227, allocations: 0.5108 MB / 0.4931 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.1238, allocations: 0.9591 MB / 0.4941 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.1242, allocations: 230.4 kB / 0.4943 GB, free: 5.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00048/0.1247, allocations: 370.5 kB / 0.4946 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000545/0.1252, allocations: 410 kB / 0.495 GB, free: 4.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.1254, allocations: 64 kB / 0.4951 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.1257, allocations: 183.2 kB / 0.4953 GB, free: 4.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.1259, allocations: 195.3 kB / 0.4955 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003252/0.1262, allocations: 349.8 kB / 0.4958 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1273, allocations: 0.9217 MB / 0.4967 GB, free: 2.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1273, allocations: 7.938 kB / 0.4967 GB, free: 2.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1273, allocations: 0 / 0.4967 GB, free: 2.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1273, allocations: 0 / 0.4967 GB, free: 2.75 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.002402/0.1297, allocations: 1.191 MB / 0.4979 GB, free: 1.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1298, allocations: 11.89 kB / 0.4979 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.1299, allocations: 86.7 kB / 0.498 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.1301, allocations: 96.33 kB / 0.498 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009717/0.131, allocations: 0.602 MB / 0.4986 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.1311, allocations: 37.38 kB / 0.4987 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/0.1312, allocations: 52.33 kB / 0.4987 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.1324, allocations: 0.6174 MB / 0.4993 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1324, allocations: 0 / 0.4993 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.1325, allocations: 20 kB / 0.4993 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.1325, allocations: 12 kB / 0.4994 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.1336, allocations: 461.8 kB / 0.4998 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.1374, allocations: 2.659 MB / 0.5024 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.1385, allocations: 0.5079 MB / 0.5029 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/0.1391, allocations: 258.9 kB / 0.5031 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.1392, allocations: 12.22 kB / 0.5031 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.1393, allocations: 38.8 kB / 0.5032 GB, free: 11.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.1393, allocations: 0 / 0.5032 GB, free: 11.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002662/0.1419, allocations: 1.167 MB / 0.5043 GB, free: 10.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.142, allocations: 140.7 kB / 0.5045 GB, free: 10.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009028/0.1429, allocations: 0.6568 MB / 0.5051 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.143, allocations: 37.7 kB / 0.5051 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.1433, allocations: 365.2 kB / 0.5055 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.1435, allocations: 190.4 kB / 0.5057 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.1437, allocations: 114.3 kB / 0.5058 GB, free: 9.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1439, allocations: 341.9 kB / 0.5061 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/0.1445, allocations: 279.3 kB / 0.5064 GB, free: 8.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008207/0.1454, allocations: 444.3 kB / 0.5068 GB, free: 7.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.1469, allocations: 0.7191 MB / 0.5075 GB, free: 7.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1469, allocations: 0 / 0.5075 GB, free: 7.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001765/0.1486, allocations: 0.8205 MB / 0.5083 GB, free: 6.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1487, allocations: 10.66 kB / 0.5083 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.1487, allocations: 4 kB / 0.5083 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.1487, allocations: 8 kB / 0.5083 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009359/0.1497, allocations: 200.2 kB / 0.5085 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.1497, allocations: 15.88 kB / 0.5085 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/0.1502, allocations: 87.61 kB / 0.5086 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.1503, allocations: 20 kB / 0.5086 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008186/0.1511, allocations: 429.2 kB / 0.509 GB, free: 5.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000757/0.1519, allocations: 424.2 kB / 0.5094 GB, free: 5.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001383/0.1533, allocations: 0.6962 MB / 0.5101 GB, free: 4.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.1533, allocations: 0 / 0.5101 GB, free: 4.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001698/0.155, allocations: 0.8047 MB / 0.5109 GB, free: 3.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.155, allocations: 4.562 kB / 0.5109 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.155, allocations: 4 kB / 0.5109 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1551, allocations: 12 kB / 0.5109 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008496/0.1559, allocations: 191.8 kB / 0.5111 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.1559, allocations: 15.88 kB / 0.5111 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.1565, allocations: 83.62 kB / 0.5112 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.1565, allocations: 27.98 kB / 0.5112 GB, free: 3.23 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.000224/0.1568, allocations: 216.1 kB / 0.5114 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.1569, allocations: 79.48 kB / 0.5115 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.1571, allocations: 86.98 kB / 0.5116 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.1572, allocations: 11.94 kB / 0.5116 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1572, allocations: 0 / 0.5116 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1572, allocations: 3.984 kB / 0.5116 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.1594, allocations: 1.26 MB / 0.5128 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1594, allocations: 4 kB / 0.5128 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/0.16, allocations: 111.9 kB / 0.5129 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.16, allocations: 4 kB / 0.513 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.035e-05/0.1601, allocations: 19.98 kB / 0.513 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1601, allocations: 0 / 0.513 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.1601, allocations: 8.031 kB / 0.513 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.1623, allocations: 1.176 MB / 0.5141 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.1626, allocations: 208.4 kB / 0.5143 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/0.1627, allocations: 12 kB / 0.5143 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.1632, allocations: 51.94 kB / 0.5144 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.1634, allocations: 35.95 kB / 0.5144 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.1634, allocations: 23.92 kB / 0.5144 GB, free: 15.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006828/0.1641, allocations: 459 kB / 0.5149 GB, free: 15.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1641, allocations: 0 / 0.5149 GB, free: 15.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008384/0.165, allocations: 223.9 kB / 0.5151 GB, free: 15.16 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.002713/0.1677, allocations: 1.741 MB / 0.5168 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002336/0.17, allocations: 0.99 MB / 0.5178 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.17, allocations: 3.938 kB / 0.5178 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006969/0.1707, allocations: 287.9 kB / 0.518 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.1719, allocations: 194 kB / 0.5182 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.1827, allocations: 6.771 MB / 0.5248 GB, free: 4.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.1834, allocations: 0.9501 MB / 0.5258 GB, free: 3.898 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005049/0.1839, allocations: 152.9 kB / 0.5259 GB, free: 3.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/0.1843, allocations: 259.3 kB / 0.5262 GB, free: 3.496 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1843, allocations: 0 / 0.5262 GB, free: 3.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2482/0.4325, allocations: 15.72 MB / 0.5415 GB, free: 38.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.404/9.837, allocations: 5.453 kB / 0.5415 GB, free: 38.78 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)