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.001354/0.001354, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002903/0.002903, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.388/1.388, allocations: 207.7 MB / 233.1 MB, free: 9.785 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.009147/0.009147, allocations: 1.958 MB / 287.3 MB, free: 3.664 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 80.94 kB / 401.8 MB, free: 50.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06991/0.07201, allocations: 49.7 MB / 451.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.00222/0.07423, allocations: 1.39 MB / 452.9 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002521/0.07449, allocations: 91.73 kB / 452.9 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.07453, allocations: 0 / 452.9 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.07456, allocations: 4 kB / 453 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.07459, allocations: 3.938 kB / 453 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.07475, allocations: 11.92 kB / 453 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.07481, allocations: 27.94 kB / 453 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.329e-05/0.0749, allocations: 11.92 kB / 453 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.327e-05/0.07494, allocations: 11.94 kB / 453 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.07498, allocations: 15.91 kB / 453 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.075, allocations: 0 / 453 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.07501, allocations: 4 kB / 453 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.07503, allocations: 4 kB / 453 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.07506, allocations: 11.94 kB / 453.1 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.651e-05/0.07514, allocations: 19.91 kB / 453.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.07514, allocations: 0 / 453.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.07514, allocations: 0 / 453.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.07515, allocations: 4 kB / 453.1 MB, free: 4.465 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.0003922/0.07554, allocations: 270.3 kB / 453.3 MB, free: 4.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.07558, allocations: 11.98 kB / 453.4 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.376e-05/0.0756, allocations: 30.75 kB / 453.4 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.07563, allocations: 4.938 kB / 453.4 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.348e-05/0.07568, allocations: 122.4 kB / 453.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.0757, allocations: 384 / 453.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.07571, allocations: 4.375 kB / 453.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.07584, allocations: 46.25 kB / 453.6 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.07585, allocations: 7.938 kB / 453.6 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.07586, allocations: 0 / 453.6 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.07586, allocations: 3.984 kB / 453.6 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.07596, allocations: 23.98 kB / 453.6 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.07622, allocations: 220 kB / 453.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.07638, allocations: 66.41 kB / 453.9 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.07644, allocations: 21 kB / 453.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.07645, allocations: 0 / 453.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.07664, allocations: 67.38 kB / 454 MB, free: 3.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.07664, allocations: 0 / 454 MB, free: 3.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002595/0.0769, allocations: 101.5 kB / 454.1 MB, free: 3.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.07692, allocations: 51.41 kB / 454.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.55e-05/0.07697, allocations: 101.9 kB / 454.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.07698, allocations: 25.7 kB / 454.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.178e-05/0.077, allocations: 84.14 kB / 454.3 MB, free: 3.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.07702, allocations: 15.94 kB / 454.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.07705, allocations: 17.72 kB / 454.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.706e-05/0.07708, allocations: 310.8 kB / 454.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-05/0.07713, allocations: 15.98 kB / 454.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.252e-05/0.07719, allocations: 30.94 kB / 454.7 MB, free: 2.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.611e-05/0.07728, allocations: 66.42 kB / 454.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.07728, allocations: 3.938 kB / 454.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001357/0.07742, allocations: 85.55 kB / 454.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.07743, allocations: 4 kB / 454.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.07744, allocations: 0 / 454.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.07745, allocations: 4 kB / 454.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.07752, allocations: 4 kB / 454.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.07752, allocations: 7.984 kB / 454.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.07756, allocations: 8.062 kB / 454.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.07756, allocations: 0 / 454.9 MB, free: 2.449 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.742e-05/0.07761, allocations: 125.7 kB / 455 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.07762, allocations: 0 / 455 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.07764, allocations: 11.67 kB / 455 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.07764, allocations: 0 / 455 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.07765, allocations: 3.938 kB / 455 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.07765, allocations: 0 / 455 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.688e-05/0.07773, allocations: 136.7 kB / 455.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.07773, allocations: 0 / 455.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.07776, allocations: 8 kB / 455.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.07777, allocations: 0 / 455.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.07777, allocations: 4 kB / 455.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.07777, allocations: 0 / 455.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.07778, allocations: 0 / 455.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.07793, allocations: 108.9 kB / 455.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.07793, allocations: 288 / 455.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.07795, allocations: 0 / 455.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.07798, allocations: 7.984 kB / 455.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.07802, allocations: 11.98 kB / 455.3 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.07803, allocations: 7.984 kB / 455.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.051e-05/0.07805, allocations: 79.28 kB / 455.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.07805, allocations: 0 / 455.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001792/0.07823, allocations: 8 kB / 455.4 MB, free: 1.867 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.0002858/0.07851, allocations: 0.6241 MB / 456 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.07866, allocations: 43.97 kB / 456 MB, free: 1.168 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.07867, allocations: 4.062 kB / 456 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.033e-05/0.07873, allocations: 19.98 kB / 456.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.07886, allocations: 0 / 456.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.0792, allocations: 164.7 kB / 456.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.949e-05/0.07923, allocations: 63.34 kB / 456.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.07e-05/0.07925, allocations: 0 / 456.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.07928, allocations: 15.44 kB / 456.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.07929, allocations: 0 / 456.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.1051, allocations: 1.815 MB / 458.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/10.89, allocations: 12.06 kB / 458.1 MB, free: 14.97 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.350234377663583] Failed to read output from testmodel.py, exit status != 0: 10.988410462159663 11.006023816 10.927703447 Calling exit ...