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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 190.8 kB / 22.23 MB, free: 5.105 MB / 14.72 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 1.359/1.359, allocations: 207.6 MB / 233 MB, free: 10.89 MB / 190.1 MB " [Timeout remaining time 178] 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.008554/0.008554, allocations: 1.966 MB / 287.2 MB, free: 3.98 MB / 222.1 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.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(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: 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.003151/0.003151, allocations: 70.97 kB / 401.7 MB, free: 51.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08817, allocations: 49.71 MB / 451.4 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001956/0.09013, allocations: 1.386 MB / 452.8 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000221/0.09035, allocations: 99.73 kB / 452.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.0904, allocations: 0 / 452.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.09043, allocations: 3.938 kB / 452.9 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.747e-05/0.09047, allocations: 3.938 kB / 452.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.0906, allocations: 15.97 kB / 452.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.481e-05/0.09066, allocations: 15.94 kB / 453 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.328e-05/0.09074, allocations: 15.92 kB / 453 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.6e-05/0.09077, allocations: 7.938 kB / 453 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.09081, allocations: 15.98 kB / 453 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.09083, allocations: 3.938 kB / 453 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.09083, allocations: 4 kB / 453 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.09085, allocations: 7.938 kB / 453 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.09088, allocations: 15.88 kB / 453 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.699e-05/0.09095, allocations: 23.89 kB / 453.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.09095, allocations: 4 kB / 453.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09095, allocations: 0 / 453.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.09096, allocations: 0 / 453.1 MB, free: 4.668 MB / 318.1 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.0003682/0.09133, allocations: 347.4 kB / 453.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.09136, allocations: 11.98 kB / 453.4 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.118e-05/0.09138, allocations: 30.75 kB / 453.4 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.09141, allocations: 4.938 kB / 453.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.585e-05/0.09147, allocations: 176.3 kB / 453.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.09149, allocations: 4.359 kB / 453.6 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.0915, allocations: 4.375 kB / 453.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.09162, allocations: 46.25 kB / 453.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.09163, allocations: 3.938 kB / 453.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.09164, allocations: 7.984 kB / 453.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.09164, allocations: 0 / 453.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.09174, allocations: 27.92 kB / 453.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.09199, allocations: 249 kB / 454 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.09215, allocations: 58.48 kB / 454 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.0922, allocations: 21 kB / 454 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.09221, allocations: 0 / 454 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.09237, allocations: 71.31 kB / 454.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.09237, allocations: 0 / 454.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002489/0.09262, allocations: 93.61 kB / 454.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.09264, allocations: 55.39 kB / 454.2 MB, free: 3.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.695e-05/0.09268, allocations: 101.9 kB / 454.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/0.09269, allocations: 25.7 kB / 454.4 MB, free: 3.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/0.09271, allocations: 88.08 kB / 454.5 MB, free: 3.055 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.09272, allocations: 11.94 kB / 454.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.09275, allocations: 17.72 kB / 454.5 MB, free: 3.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.09279, allocations: 314.8 kB / 454.8 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.09284, allocations: 15.98 kB / 454.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.173e-05/0.09289, allocations: 34.56 kB / 454.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.664e-05/0.09298, allocations: 58.42 kB / 454.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.09299, allocations: 3.938 kB / 454.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000131/0.09312, allocations: 81.55 kB / 455 MB, free: 2.488 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.09313, allocations: 8 kB / 455 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.09313, allocations: 0 / 455 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.09314, allocations: 0 / 455 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.09321, allocations: 11.94 kB / 455 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.09321, allocations: 0 / 455 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.09325, allocations: 12.05 kB / 455 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.09325, allocations: 4 kB / 455 MB, free: 2.453 MB / 318.1 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.508e-05/0.0933, allocations: 118 kB / 455.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.09331, allocations: 4 kB / 455.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.09333, allocations: 7.672 kB / 455.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.09333, allocations: 0 / 455.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.09333, allocations: 0 / 455.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.09333, allocations: 7.984 kB / 455.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.65e-05/0.09341, allocations: 162 kB / 455.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.09341, allocations: 4 kB / 455.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.09345, allocations: 15.98 kB / 455.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.09345, allocations: 0 / 455.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.09346, allocations: 3.938 kB / 455.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.09346, allocations: 0 / 455.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.09346, allocations: 3.984 kB / 455.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.09361, allocations: 105 kB / 455.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.09362, allocations: 81.11 kB / 455.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.09363, allocations: 0 / 455.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.708e-05/0.09367, allocations: 11.98 kB / 455.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.0937, allocations: 0 / 455.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.0937, allocations: 4 kB / 455.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.861e-05/0.09372, allocations: 83.27 kB / 455.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.09372, allocations: 0 / 455.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001755/0.0939, allocations: 8 kB / 455.6 MB, free: 1.742 MB / 318.1 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.0002824/0.09418, allocations: 0.628 MB / 456.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.09433, allocations: 43.91 kB / 456.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.09433, allocations: 0 / 456.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/0.09439, allocations: 24.11 kB / 456.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.09452, allocations: 7.938 kB / 456.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.09484, allocations: 156.9 kB / 456.5 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.058e-05/0.09492, allocations: 0.6845 MB / 457.2 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.822e-05/0.09494, allocations: 0 / 457.2 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.09497, allocations: 11.44 kB / 457.2 MB, free: 96 kB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.09497, allocations: 4 kB / 457.2 MB, free: 92 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.116, allocations: 1.31 MB / 458.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.107, allocations: 3.984 kB / 458.5 MB, free: 14.73 MB / 334.1 MB " [Timeout remaining time 652] (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: 10.533348466036841] Failed to read output from testmodel.py, exit status != 0: 8.17669233889319 8.202783911 8.107018488 Calling exit ...