Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestDutyCycleGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8636/0.8636, allocations: 158.6 MB / 184.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00593/0.00593, allocations: 1.42 MB / 237.9 MB, free: 13.94 MB / 234.7 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestDutyCycleGenerator,fileNamePrefix="MEV_MEV_Test_TestDutyCycleGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestDutyCycleGenerator,fileNamePrefix="MEV_MEV_Test_TestDutyCycleGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 352.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.176e-05, allocations: 10.16 kB / 352.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001798/0.00182, allocations: 1.393 MB / 353.8 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002587/0.002078, allocations: 91.62 kB / 353.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.002126, allocations: 4 kB / 353.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.002156, allocations: 0 / 353.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.571e-05/0.002201, allocations: 15.86 kB / 354 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.002371, allocations: 15.98 kB / 354 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.963e-05/0.002441, allocations: 19.92 kB / 354 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.002538, allocations: 8 kB / 354 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.13e-05/0.002579, allocations: 15.92 kB / 354 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.002627, allocations: 4 kB / 354 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.00265, allocations: 4 kB / 354 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-06/0.002657, allocations: 0 / 354 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.002677, allocations: 11.97 kB / 354 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.002708, allocations: 4 kB / 354 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.988e-05/0.002788, allocations: 27.91 kB / 354.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.00279, allocations: 4 kB / 354.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.002791, allocations: 0 / 354.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.002794, allocations: 0 / 354.1 MB, free: 14.26 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003866/0.003181, allocations: 270.2 kB / 354.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.003221, allocations: 11.98 kB / 354.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.398e-05/0.003245, allocations: 30.75 kB / 354.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.26e-05/0.003267, allocations: 4.938 kB / 354.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.218e-05/0.003319, allocations: 109.8 kB / 354.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.003342, allocations: 4.375 kB / 354.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.003349, allocations: 4.375 kB / 354.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.00345, allocations: 52.16 kB / 354.5 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.003458, allocations: 192 / 354.5 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.003466, allocations: 4.359 kB / 354.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.003471, allocations: 8.125 kB / 354.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.804e-05/0.003539, allocations: 27.97 kB / 354.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.00379, allocations: 216 kB / 354.8 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.0039, allocations: 54.55 kB / 354.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.003935, allocations: 21 kB / 354.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.003944, allocations: 4 kB / 354.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.004083, allocations: 75.25 kB / 355 MB, free: 13.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.004084, allocations: 0 / 355 MB, free: 13.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002003/0.004284, allocations: 89.59 kB / 355 MB, free: 13.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.004313, allocations: 59.41 kB / 355.1 MB, free: 13.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.951e-05/0.004352, allocations: 105.8 kB / 355.2 MB, free: 12.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.004359, allocations: 29.64 kB / 355.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.004383, allocations: 92.08 kB / 355.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.004402, allocations: 11.89 kB / 355.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.004427, allocations: 17.7 kB / 355.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.412e-05/0.004461, allocations: 314.8 kB / 355.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.00449, allocations: 15.98 kB / 355.7 MB, free: 12.47 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.004527, allocations: 38.5 kB / 355.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.505e-05/0.004592, allocations: 54.55 kB / 355.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.004595, allocations: 0 / 355.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.747e-05/0.004682, allocations: 81.48 kB / 355.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.004698, allocations: 4 kB / 355.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.004707, allocations: 4 kB / 355.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.004722, allocations: 0 / 355.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.004789, allocations: 16 kB / 355.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.004795, allocations: 0 / 355.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.004818, allocations: 11.98 kB / 355.9 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.004822, allocations: 0 / 355.9 MB, free: 12.24 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,dutyCycleGenerator.offTime,$PRE.dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.679e-05/0.004869, allocations: 109.8 kB / 356 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.004877, allocations: 7.938 kB / 356 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.0049, allocations: 7.688 kB / 356 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.004901, allocations: 0 / 356 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.004907, allocations: 0 / 356 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.004911, allocations: 0 / 356 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.887e-05/0.00499, allocations: 132.8 kB / 356.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.00499, allocations: 0 / 356.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.005007, allocations: 16.16 kB / 356.1 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.005008, allocations: 0 / 356.1 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.005014, allocations: 0 / 356.1 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005015, allocations: 0 / 356.1 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.005017, allocations: 0 / 356.1 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.005117, allocations: 113 kB / 356.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.005124, allocations: 3.938 kB / 356.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.005135, allocations: 8 kB / 356.3 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.005152, allocations: 4.359 kB / 356.3 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.005191, allocations: 4 kB / 356.3 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.005196, allocations: 7.938 kB / 356.3 MB, free: 11.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.9e-05/0.005214, allocations: 91.2 kB / 356.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005215, allocations: 0 / 356.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001292/0.005344, allocations: 8 kB / 356.4 MB, free: 11.67 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001888/0.005532, allocations: 0.628 MB / 357 MB, free: 11.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.005648, allocations: 39.97 kB / 357 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.00565, allocations: 0 / 357 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.005693, allocations: 23.92 kB / 357.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.005807, allocations: 4 kB / 357.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.006109, allocations: 158.4 kB / 357.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.274e-05/0.006142, allocations: 67.28 kB / 357.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.087e-05/0.006162, allocations: 4.125 kB / 357.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.006203, allocations: 12.5 kB / 357.3 MB, free: 10.65 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006204, allocations: 0 / 357.3 MB, free: 10.65 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.01938, allocations: 1.941 MB / 359.3 MB, free: 8.672 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.393/7.413, allocations: 11.8 kB / 359.3 MB, free: 8.66 MB / 282.7 MB " [Timeout remaining time 653] (rm -f MEV_MEV.Test.TestDutyCycleGenerator.pipe ; mkfifo MEV_MEV.Test.TestDutyCycleGenerator.pipe ; head -c 1048576 < MEV_MEV.Test.TestDutyCycleGenerator.pipe >> ../files/MEV_MEV.Test.TestDutyCycleGenerator.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestDutyCycleGenerator_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 MEV_MEV_Test_TestDutyCycleGenerator.fmu > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.205545837059617] Failed to read output from testmodel.py, exit status != 0: 7.490468046627939 7.499241512 7.494581903 Calling exit ...