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.001672/0.001672, allocations: 113 kB / 18.94 MB, free: 2.934 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.002148/0.002148, allocations: 209.6 kB / 22.25 MB, free: 5.086 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.448/1.448, allocations: 207.6 MB / 233 MB, free: 10.01 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.009503/0.009503, allocations: 1.966 MB / 287.2 MB, free: 3.867 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.002091/0.002091, allocations: 68.02 kB / 401.8 MB, free: 50.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07563/0.07772, allocations: 49.7 MB / 451.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002116/0.07983, allocations: 1.401 MB / 452.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002686/0.0801, allocations: 99.73 kB / 453 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.08015, allocations: 0 / 453 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.08018, allocations: 3.938 kB / 453 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.08023, allocations: 0 / 453 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.08039, allocations: 19.91 kB / 453 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.088e-05/0.08047, allocations: 23.92 kB / 453 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.08057, allocations: 11.94 kB / 453 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.0806, allocations: 15.92 kB / 453 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.08065, allocations: 4 kB / 453.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.08067, allocations: 0 / 453.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.08068, allocations: 4 kB / 453.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.0807, allocations: 7.938 kB / 453.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.08074, allocations: 15.92 kB / 453.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.451e-05/0.08083, allocations: 19.91 kB / 453.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.08083, allocations: 4 kB / 453.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.08083, allocations: 0 / 453.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.08084, allocations: 0 / 453.1 MB, free: 4.633 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.0004697/0.08131, allocations: 270.3 kB / 453.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.08135, allocations: 11.98 kB / 453.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.783e-05/0.08138, allocations: 38.73 kB / 453.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.08141, allocations: 4.938 kB / 453.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.627e-05/0.08147, allocations: 110.4 kB / 453.5 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.08149, allocations: 4.375 kB / 453.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.08151, allocations: 384 / 453.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.08164, allocations: 54.23 kB / 453.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.08165, allocations: 3.938 kB / 453.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.08166, allocations: 0 / 453.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.08166, allocations: 0 / 453.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.08177, allocations: 27.97 kB / 453.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.08206, allocations: 224 kB / 453.8 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.08222, allocations: 62.47 kB / 453.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.08227, allocations: 21 kB / 453.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.08228, allocations: 7.922 kB / 453.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.08245, allocations: 63.39 kB / 454 MB, free: 3.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.08246, allocations: 4 kB / 454 MB, free: 3.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002666/0.08272, allocations: 93.53 kB / 454.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.08275, allocations: 55.41 kB / 454.1 MB, free: 3.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.948e-05/0.0828, allocations: 97.86 kB / 454.2 MB, free: 3.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.08281, allocations: 25.7 kB / 454.3 MB, free: 3.305 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.631e-05/0.08283, allocations: 92.12 kB / 454.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.08286, allocations: 3.953 kB / 454.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.08289, allocations: 21.72 kB / 454.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.08294, allocations: 314.8 kB / 454.7 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.08299, allocations: 15.98 kB / 454.7 MB, free: 2.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.355e-05/0.08305, allocations: 38.48 kB / 454.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.827e-05/0.08315, allocations: 62.44 kB / 454.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.08315, allocations: 0 / 454.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001332/0.08328, allocations: 77.55 kB / 454.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.08329, allocations: 4 kB / 454.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.0833, allocations: 0 / 454.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.08331, allocations: 4.375 kB / 454.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.08338, allocations: 12.05 kB / 454.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.08339, allocations: 7.938 kB / 454.9 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.08343, allocations: 8 kB / 454.9 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.08343, allocations: 4 kB / 454.9 MB, free: 2.609 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 5.467e-05/0.08349, allocations: 117.7 kB / 455 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.08349, allocations: 0 / 455 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.08352, allocations: 11.67 kB / 455 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.08352, allocations: 4 kB / 455 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.08353, allocations: 0 / 455 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.08353, allocations: 4 kB / 455 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.953e-05/0.08362, allocations: 136.7 kB / 455.2 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.08362, allocations: 0 / 455.2 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.08366, allocations: 7.984 kB / 455.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.08366, allocations: 0 / 455.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.08367, allocations: 0 / 455.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.08367, allocations: 7.984 kB / 455.2 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.08367, allocations: 0 / 455.2 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.08381, allocations: 112.9 kB / 455.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.08382, allocations: 4.281 kB / 455.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.08383, allocations: 3.938 kB / 455.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.765e-05/0.08387, allocations: 7.984 kB / 455.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.08391, allocations: 3.984 kB / 455.3 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.08391, allocations: 0 / 455.3 MB, free: 2.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.076e-05/0.08393, allocations: 87.27 kB / 455.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.08393, allocations: 0 / 455.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001769/0.08411, allocations: 12 kB / 455.4 MB, free: 2.02 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.0002846/0.08439, allocations: 0.6241 MB / 456 MB, free: 1.363 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.08454, allocations: 43.97 kB / 456.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.08455, allocations: 0 / 456.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.009e-05/0.08461, allocations: 23.92 kB / 456.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.08474, allocations: 0 / 456.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.08509, allocations: 160.8 kB / 456.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.831e-05/0.08518, allocations: 0.6807 MB / 456.9 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.903e-05/0.0852, allocations: 4.062 kB / 457 MB, free: 400 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.08524, allocations: 11.44 kB / 457 MB, free: 388 kB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.08524, allocations: 4 kB / 457 MB, free: 384 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.1106, allocations: 1.425 MB / 458.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.48, allocations: 0 / 458.4 MB, free: 14.91 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.170921002001705] Failed to read output from testmodel.py, exit status != 0: 10.585451785998885 10.613604757 10.527848012 Calling exit ...