Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, 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.001163/0.001163, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 76.56 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1059, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004687/0.1106, allocations: 3.375 MB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003193/0.1138, allocations: 1.594 MB / 485.1 MB, free: 212 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004977/0.1144, allocations: 23.88 kB / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005343/0.115, allocations: 146.7 kB / 485.3 MB, free: 40 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000587/0.1156, allocations: 190.6 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1168, allocations: 0.5417 MB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.1179, allocations: 0.9358 MB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/0.1183, allocations: 226.4 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005364/0.1188, allocations: 370.5 kB / 487.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.1194, allocations: 414.1 kB / 487.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.1196, allocations: 60 kB / 488 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.1199, allocations: 187.7 kB / 488.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.1201, allocations: 199.3 kB / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.1205, allocations: 349.8 kB / 488.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.1215, allocations: 0.876 MB / 489.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1216, allocations: 0 / 489.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1216, allocations: 0 / 489.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.283e-05/0.1216, allocations: 4 kB / 489.6 MB, free: 11.71 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.002561/0.1242, allocations: 1.172 MB / 490.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1242, allocations: 9.109 kB / 490.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.1244, allocations: 82.72 kB / 490.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.1246, allocations: 99.8 kB / 490.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009335/0.1256, allocations: 0.5585 MB / 491.5 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.1256, allocations: 37.38 kB / 491.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-05/0.1257, allocations: 56.28 kB / 491.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.1269, allocations: 0.6261 MB / 492.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.1269, allocations: 0 / 492.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.1269, allocations: 20 kB / 492.2 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.127, allocations: 12 kB / 492.2 MB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.1281, allocations: 465.8 kB / 492.7 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003842/0.132, allocations: 2.659 MB / 495.3 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.1331, allocations: 0.5062 MB / 495.9 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005978/0.1337, allocations: 266.9 kB / 496.1 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.1337, allocations: 8.234 kB / 496.1 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.1338, allocations: 38.8 kB / 496.2 MB, free: 4.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 3.737e-06/0.1338, allocations: 0 / 496.2 MB, free: 4.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.00256/0.1363, allocations: 1.156 MB / 497.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/0.1365, allocations: 158.2 kB / 497.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009131/0.1374, allocations: 0.6528 MB / 498.1 MB, free: 2.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.1374, allocations: 37.7 kB / 498.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.1377, allocations: 356.7 kB / 498.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.1379, allocations: 185.3 kB / 498.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.1381, allocations: 122.3 kB / 498.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1382, allocations: 333.9 kB / 499.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000678/0.1389, allocations: 279.3 kB / 499.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007697/0.1397, allocations: 449.2 kB / 499.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.1411, allocations: 0.7074 MB / 0.4888 GB, free: 216 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1411, allocations: 4 kB / 0.4888 GB, free: 212 kB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001714/0.1429, allocations: 0.823 MB / 0.4896 GB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1429, allocations: 11.94 kB / 0.4896 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1429, allocations: 4.531 kB / 0.4896 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1429, allocations: 12 kB / 0.4897 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008993/0.1438, allocations: 199.7 kB / 0.4898 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.1439, allocations: 8 kB / 0.4899 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.1444, allocations: 79.56 kB / 0.4899 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.1445, allocations: 24 kB / 0.49 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008138/0.1453, allocations: 421.2 kB / 0.4904 GB, free: 14.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007103/0.146, allocations: 437.2 kB / 0.4908 GB, free: 14.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00129/0.1473, allocations: 0.6959 MB / 0.4915 GB, free: 13.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/0.1473, allocations: 0 / 0.4915 GB, free: 13.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001629/0.149, allocations: 0.8076 MB / 0.4922 GB, free: 12.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.149, allocations: 4 kB / 0.4922 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.149, allocations: 4 kB / 0.4923 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.507e-06/0.149, allocations: 8 kB / 0.4923 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008815/0.1499, allocations: 187.8 kB / 0.4924 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.1499, allocations: 19.81 kB / 0.4925 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.1505, allocations: 87.66 kB / 0.4925 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.1505, allocations: 24 kB / 0.4926 GB, free: 12.23 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 (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.0001836/0.1507, allocations: 212.1 kB / 0.4928 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.1509, allocations: 71.16 kB / 0.4928 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.1511, allocations: 98.89 kB / 0.4929 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.1511, allocations: 7.938 kB / 0.4929 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1511, allocations: 4 kB / 0.4929 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1512, allocations: 0 / 0.4929 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.1531, allocations: 1.275 MB / 0.4942 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1532, allocations: 0 / 0.4942 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/0.1538, allocations: 111.8 kB / 0.4943 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1538, allocations: 0 / 0.4943 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/0.1539, allocations: 19.98 kB / 0.4943 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.1539, allocations: 4 kB / 0.4943 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1539, allocations: 0 / 0.4943 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.156, allocations: 1.161 MB / 0.4954 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.1562, allocations: 204.1 kB / 0.4956 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.842e-05/0.1563, allocations: 20 kB / 0.4957 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005838/0.1569, allocations: 47.94 kB / 0.4957 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.157, allocations: 39.94 kB / 0.4957 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.1571, allocations: 12 kB / 0.4958 GB, free: 8.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006579/0.1577, allocations: 467 kB / 0.4962 GB, free: 8.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1578, allocations: 0 / 0.4962 GB, free: 8.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008561/0.1586, allocations: 220 kB / 0.4964 GB, free: 8.18 MB / 382.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.002538/0.1612, allocations: 1.753 MB / 0.4981 GB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002315/0.1635, allocations: 1.032 MB / 0.4991 GB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1635, allocations: 0 / 0.4991 GB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006493/0.1642, allocations: 283.7 kB / 0.4994 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.1653, allocations: 196.2 kB / 0.4996 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1884/0.3536, allocations: 6.996 MB / 0.5064 GB, free: 40.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.3541, allocations: 0.9531 MB / 0.5074 GB, free: 39.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006157/0.3548, allocations: 147.9 kB / 0.5075 GB, free: 39.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.3551, allocations: 260.9 kB / 0.5077 GB, free: 39.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.113e-06/0.3551, allocations: 1.125 kB / 0.5077 GB, free: 39.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03804/0.3932, allocations: 15.36 MB / 0.5227 GB, free: 34.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/7.991, allocations: 8.547 kB / 0.5228 GB, free: 34.8 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)