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.001936/0.001936, allocations: 105.1 kB / 18.99 MB, free: 2.613 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.00141/0.00141, allocations: 226.7 kB / 22.3 MB, free: 5.285 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.367/1.367, allocations: 207.7 MB / 233.1 MB, free: 9.766 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.008792/0.008792, allocations: 1.97 MB / 287.4 MB, free: 3.641 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.002233/0.002233, allocations: 72.3 kB / 401.8 MB, free: 50.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0692/0.07143, allocations: 49.71 MB / 451.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.00195/0.07338, allocations: 1.386 MB / 452.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002204/0.0736, allocations: 99.67 kB / 453 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.07364, allocations: 0 / 453 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.07367, allocations: 0 / 453 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.594e-05/0.0737, allocations: 7.938 kB / 453 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.07384, allocations: 15.92 kB / 453.1 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.0739, allocations: 27.92 kB / 453.1 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.07399, allocations: 7.938 kB / 453.1 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.648e-05/0.07401, allocations: 15.92 kB / 453.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.07406, allocations: 7.938 kB / 453.1 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.07408, allocations: 0 / 453.1 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.07409, allocations: 4 kB / 453.1 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.0741, allocations: 11.97 kB / 453.1 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.07413, allocations: 7.938 kB / 453.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.7e-05/0.0742, allocations: 19.92 kB / 453.2 MB, free: 4.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.0742, allocations: 3.938 kB / 453.2 MB, free: 4.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.07421, allocations: 4 kB / 453.2 MB, free: 4.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.07421, allocations: 0 / 453.2 MB, free: 4.426 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.0003714/0.07458, allocations: 266.3 kB / 453.4 MB, free: 4.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.07461, allocations: 15.98 kB / 453.4 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.112e-05/0.07463, allocations: 34.73 kB / 453.5 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.17e-05/0.07466, allocations: 0.9375 kB / 453.5 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.777e-05/0.0747, allocations: 110.5 kB / 453.6 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.07472, allocations: 384 / 453.6 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.07473, allocations: 8.375 kB / 453.6 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.07485, allocations: 54.17 kB / 453.6 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.07486, allocations: 3.938 kB / 453.7 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.07487, allocations: 4 kB / 453.7 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.07487, allocations: 0 / 453.7 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.07497, allocations: 23.97 kB / 453.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.07521, allocations: 220.1 kB / 453.9 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.07537, allocations: 58.42 kB / 453.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.07542, allocations: 25 kB / 454 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.07543, allocations: 0 / 454 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.0756, allocations: 63.39 kB / 454 MB, free: 3.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.0756, allocations: 0 / 454 MB, free: 3.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002627/0.07586, allocations: 101.7 kB / 454.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.07588, allocations: 51.41 kB / 454.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.243e-05/0.07593, allocations: 109.8 kB / 454.3 MB, free: 3.133 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.07593, allocations: 25.7 kB / 454.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/0.07595, allocations: 84.12 kB / 454.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.07597, allocations: 11.95 kB / 454.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.076, allocations: 13.72 kB / 454.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.07604, allocations: 318.8 kB / 454.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.227e-05/0.07609, allocations: 11.98 kB / 454.7 MB, free: 2.652 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/0.07614, allocations: 34.56 kB / 454.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.988e-05/0.07624, allocations: 70.34 kB / 454.9 MB, free: 2.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.07624, allocations: 4 kB / 454.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000133/0.07638, allocations: 73.56 kB / 454.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.07639, allocations: 4 kB / 454.9 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.07639, allocations: 384 / 454.9 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.0764, allocations: 0 / 454.9 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.07646, allocations: 11.98 kB / 454.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.07647, allocations: 8.062 kB / 455 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.0765, allocations: 12 kB / 455 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.07651, allocations: 0 / 455 MB, free: 2.414 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.59e-05/0.07655, allocations: 125.6 kB / 455.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-06/0.07656, allocations: 3.938 kB / 455.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.0766, allocations: 11.69 kB / 455.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.0766, allocations: 0 / 455.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.0766, allocations: 0 / 455.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.07661, allocations: 0 / 455.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.519e-05/0.07668, allocations: 132.7 kB / 455.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.07668, allocations: 4 kB / 455.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.07672, allocations: 7.984 kB / 455.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.07672, allocations: 0 / 455.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.07673, allocations: 4 kB / 455.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.07673, allocations: 0 / 455.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.07673, allocations: 0 / 455.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.07688, allocations: 105 kB / 455.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.07689, allocations: 4 kB / 455.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.0769, allocations: 0 / 455.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.07694, allocations: 8 kB / 455.4 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.07698, allocations: 3.984 kB / 455.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.07698, allocations: 7.938 kB / 455.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.989e-05/0.077, allocations: 83.28 kB / 455.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.077, allocations: 0 / 455.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001806/0.07718, allocations: 4 kB / 455.5 MB, free: 1.84 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.0002949/0.07748, allocations: 0.628 MB / 456.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.07763, allocations: 47.89 kB / 456.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.07763, allocations: 0 / 456.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.0777, allocations: 19.98 kB / 456.2 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.07784, allocations: 7.938 kB / 456.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.07819, allocations: 149.2 kB / 456.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.07822, allocations: 63.34 kB / 456.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.036e-05/0.07824, allocations: 8.062 kB / 456.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.07827, allocations: 19.42 kB / 456.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.07827, allocations: 0 / 456.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03678/0.1151, allocations: 1.897 MB / 458.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.21, allocations: 7.844 kB / 458.3 MB, free: 14.86 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.731111124001472] Failed to read output from testmodel.py, exit status != 0: 11.317889177000325 11.337861484 11.260290477 Calling exit ...