Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.3405/0.3405, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002241/0.002241, allocations: 83.83 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1127, allocations: 62.46 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004982/0.1177, allocations: 3.336 MB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002996/0.1207, allocations: 1.591 MB / 485.1 MB, free: 192 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.121, allocations: 23.88 kB / 485.2 MB, free: 168 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.1216, allocations: 138.7 kB / 485.3 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.122, allocations: 186.6 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1233, allocations: 0.5444 MB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.1243, allocations: 0.9046 MB / 486.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.1247, allocations: 234.3 kB / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000498/0.1252, allocations: 354.5 kB / 487.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.1257, allocations: 402.1 kB / 487.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.1259, allocations: 60 kB / 488 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.126, allocations: 68 kB / 488 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.1262, allocations: 207.2 kB / 488.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.1266, allocations: 337.8 kB / 488.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007886/0.1274, allocations: 0.7512 MB / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1274, allocations: 0 / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1274, allocations: 0 / 489.3 MB, free: 12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1274, allocations: 0 / 489.3 MB, free: 12 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.002372/0.1298, allocations: 1.164 MB / 490.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1298, allocations: 9.109 kB / 490.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.13, allocations: 86.7 kB / 490.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.1302, allocations: 95.91 kB / 490.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009064/0.1311, allocations: 0.5584 MB / 491.2 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.1312, allocations: 37.38 kB / 491.2 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-05/0.1313, allocations: 60.28 kB / 491.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.1325, allocations: 0.6222 MB / 491.9 MB, free: 9.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.1325, allocations: 7.984 kB / 491.9 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.1326, allocations: 20 kB / 492 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.1326, allocations: 16 kB / 492 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.1337, allocations: 465.8 kB / 492.4 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/0.1376, allocations: 2.663 MB / 495.1 MB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.1388, allocations: 0.5448 MB / 495.6 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.1394, allocations: 258.4 kB / 495.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.1395, allocations: 4 kB / 495.9 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.1395, allocations: 42.59 kB / 495.9 MB, free: 5.074 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.1395, allocations: 0 / 495.9 MB, free: 5.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002663/0.1422, allocations: 1.131 MB / 497.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.1423, allocations: 170.1 kB / 497.2 MB, free: 3.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009746/0.1433, allocations: 0.6529 MB / 497.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.1434, allocations: 41.7 kB / 497.9 MB, free: 3.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.1437, allocations: 356 kB / 498.3 MB, free: 2.664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.1439, allocations: 173.5 kB / 498.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.1441, allocations: 118.2 kB / 498.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1443, allocations: 333.9 kB / 498.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006878/0.145, allocations: 275.3 kB / 499.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008057/0.1458, allocations: 425.5 kB / 499.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.1472, allocations: 0.6779 MB / 0.4885 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1472, allocations: 0 / 0.4885 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001775/0.149, allocations: 0.7951 MB / 0.4893 GB, free: 15.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.1491, allocations: 8 kB / 0.4893 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.1491, allocations: 7.938 kB / 0.4893 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.1491, allocations: 12.03 kB / 0.4893 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/0.1498, allocations: 147.8 kB / 0.4895 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.1498, allocations: 11.94 kB / 0.4895 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000653/0.1505, allocations: 83.66 kB / 0.4896 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.1506, allocations: 23.94 kB / 0.4896 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009779/0.1515, allocations: 409.3 kB / 0.49 GB, free: 15.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009089/0.1525, allocations: 421.2 kB / 0.4904 GB, free: 14.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001521/0.154, allocations: 0.6624 MB / 0.491 GB, free: 13.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.154, allocations: 0 / 0.491 GB, free: 13.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001678/0.1557, allocations: 0.7725 MB / 0.4918 GB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1557, allocations: 4 kB / 0.4918 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1557, allocations: 8 kB / 0.4918 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1558, allocations: 8 kB / 0.4918 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006623/0.1564, allocations: 143.7 kB / 0.4919 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.1565, allocations: 12.31 kB / 0.4919 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.157, allocations: 83.53 kB / 0.492 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.1571, allocations: 27.94 kB / 0.492 GB, free: 12.79 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 (77): * Single equations (assignments): 77 * 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.0002239/0.1573, allocations: 212.1 kB / 0.4922 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.1575, allocations: 75.06 kB / 0.4923 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.1577, allocations: 94.2 kB / 0.4924 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.1577, allocations: 11.94 kB / 0.4924 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.1577, allocations: 0 / 0.4924 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.1577, allocations: 7.922 kB / 0.4924 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.1591, allocations: 0.8415 MB / 0.4932 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.1591, allocations: 7.938 kB / 0.4933 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/0.1598, allocations: 103.9 kB / 0.4934 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.1598, allocations: 8 kB / 0.4934 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.1599, allocations: 15.98 kB / 0.4934 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1599, allocations: 4 kB / 0.4934 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1599, allocations: 3.938 kB / 0.4934 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.1621, allocations: 1.132 MB / 0.4945 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.1624, allocations: 200.1 kB / 0.4947 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.994e-05/0.1625, allocations: 12 kB / 0.4947 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.163, allocations: 51.94 kB / 0.4947 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.1631, allocations: 39.94 kB / 0.4948 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.1632, allocations: 12 kB / 0.4948 GB, free: 9.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007297/0.1639, allocations: 459 kB / 0.4952 GB, free: 9.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1639, allocations: 0 / 0.4952 GB, free: 9.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007904/0.1647, allocations: 192 kB / 0.4954 GB, free: 9.238 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.002591/0.1673, allocations: 1.697 MB / 0.4971 GB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.1698, allocations: 0.9939 MB / 0.498 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1698, allocations: 0 / 0.498 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.1705, allocations: 271.7 kB / 0.4983 GB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.1716, allocations: 199.4 kB / 0.4985 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1926/0.3643, allocations: 6.872 MB / 0.5052 GB, free: 40.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.3648, allocations: 0.9481 MB / 0.5061 GB, free: 39.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006727/0.3655, allocations: 148.5 kB / 0.5063 GB, free: 39.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.3658, allocations: 260.6 kB / 0.5065 GB, free: 39.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3658, allocations: 4.547 kB / 0.5065 GB, free: 39.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04473/0.4105, allocations: 14.33 MB / 0.5205 GB, free: 35.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.565, allocations: 11.41 kB / 0.5205 GB, free: 35.49 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_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_4_1_0-beta_om_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous.pipe 2>&1)