Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_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.00123/0.00123, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001244/0.001244, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2047/0.2047, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 56.41 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1201, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004185/0.1243, allocations: 3.379 MB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1268, allocations: 1.54 MB / 474.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.1272, allocations: 23.88 kB / 474.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.1276, allocations: 138.7 kB / 474.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.1281, allocations: 190.5 kB / 474.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1291, allocations: 0.536 MB / 475.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008441/0.13, allocations: 0.9358 MB / 476.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.1304, allocations: 230.4 kB / 476.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/0.1307, allocations: 366.6 kB / 476.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004388/0.1312, allocations: 414 kB / 477.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.975e-05/0.1313, allocations: 64 kB / 477.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.1316, allocations: 167.8 kB / 477.3 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.1318, allocations: 195.3 kB / 477.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.132, allocations: 345.8 kB / 477.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.1328, allocations: 0.8798 MB / 478.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1328, allocations: 4 kB / 478.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1328, allocations: 0 / 478.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.1328, allocations: 0 / 478.7 MB, free: 4.867 MB / 350.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.002157/0.135, allocations: 1.172 MB / 479.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.135, allocations: 12.03 kB / 479.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.61e-05/0.1351, allocations: 82.66 kB / 480 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.1353, allocations: 91.89 kB / 480.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008005/0.1361, allocations: 0.5506 MB / 480.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.1361, allocations: 41.38 kB / 480.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.723e-05/0.1362, allocations: 60.28 kB / 480.7 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.1373, allocations: 0.6136 MB / 481.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.1373, allocations: 7.875 kB / 481.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.1374, allocations: 16 kB / 481.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.1374, allocations: 16 kB / 481.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.1384, allocations: 461.8 kB / 481.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.1418, allocations: 2.655 MB / 484.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009953/0.1429, allocations: 0.5054 MB / 485 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/0.1434, allocations: 260.8 kB / 485.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.1435, allocations: 16.17 kB / 485.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1435, allocations: 34.8 kB / 485.3 MB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.324e-06/0.1435, allocations: 0 / 485.3 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002443/0.146, allocations: 1.146 MB / 486.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.1461, allocations: 132.5 kB / 486.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008022/0.1469, allocations: 0.6529 MB / 487.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.1469, allocations: 37.7 kB / 487.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.1472, allocations: 352.8 kB / 487.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.1473, allocations: 181.4 kB / 487.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.1475, allocations: 122.2 kB / 487.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1476, allocations: 333.9 kB / 488.2 MB, free: 11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/0.1483, allocations: 287.3 kB / 488.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007507/0.1491, allocations: 452 kB / 488.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.1504, allocations: 0.6996 MB / 489.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1504, allocations: 0 / 489.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001661/0.1521, allocations: 0.8277 MB / 490.5 MB, free: 8.613 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1521, allocations: 4 kB / 490.5 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.1521, allocations: 4.531 kB / 490.5 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.1522, allocations: 12 kB / 490.5 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009142/0.1531, allocations: 191.8 kB / 490.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.1531, allocations: 11.94 kB / 490.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.1537, allocations: 91.47 kB / 490.8 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.1537, allocations: 24 kB / 490.8 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000772/0.1545, allocations: 425.2 kB / 491.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006874/0.1552, allocations: 428.4 kB / 491.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001244/0.1564, allocations: 0.6936 MB / 492.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/0.1565, allocations: 0 / 492.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001556/0.158, allocations: 0.8076 MB / 493.1 MB, free: 5.812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.158, allocations: 4 kB / 493.1 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1581, allocations: 4 kB / 493.1 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1581, allocations: 8 kB / 493.1 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008451/0.1589, allocations: 195.6 kB / 493.3 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.1589, allocations: 11.94 kB / 493.4 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.1595, allocations: 83.53 kB / 493.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.1595, allocations: 28 kB / 493.5 MB, free: 5.484 MB / 366.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.0001862/0.1597, allocations: 216.1 kB / 493.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.1599, allocations: 79.09 kB / 493.7 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.1601, allocations: 90.89 kB / 493.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1601, allocations: 7.938 kB / 493.8 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1601, allocations: 4 kB / 493.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1601, allocations: 4 kB / 493.9 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.1621, allocations: 1.256 MB / 495.1 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1621, allocations: 4.062 kB / 495.1 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006487/0.1627, allocations: 107.9 kB / 495.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1627, allocations: 4 kB / 495.2 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.1628, allocations: 15.98 kB / 495.2 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.1628, allocations: 4 kB / 495.2 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1628, allocations: 0 / 495.2 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.1648, allocations: 1.168 MB / 496.4 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.165, allocations: 200.2 kB / 496.6 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.1651, allocations: 16 kB / 496.6 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/0.1657, allocations: 47.94 kB / 496.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.1658, allocations: 39.94 kB / 496.7 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.1659, allocations: 12 kB / 496.7 MB, free: 2.105 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006149/0.1665, allocations: 463 kB / 497.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1665, allocations: 0 / 497.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008262/0.1673, allocations: 228 kB / 497.4 MB, free: 1.434 MB / 366.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.002466/0.1698, allocations: 1.75 MB / 499.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.1721, allocations: 1.033 MB / 0.4885 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1721, allocations: 0 / 0.4885 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006438/0.1728, allocations: 291.6 kB / 0.4887 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.1739, allocations: 197.9 kB / 0.4889 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009787/0.1837, allocations: 6.978 MB / 0.4957 GB, free: 6.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.1842, allocations: 0.9501 MB / 0.4967 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005038/0.1847, allocations: 148.7 kB / 0.4968 GB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003626/0.185, allocations: 263.3 kB / 0.4971 GB, free: 5.496 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1851, allocations: 0 / 0.4971 GB, free: 5.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2147/0.3997, allocations: 15.41 MB / 0.5121 GB, free: 47.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.278, allocations: 14.06 kB / 0.5121 GB, free: 47.79 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)