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.0005867/0.0005867, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007438/0.0007438, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8361/0.8361, allocations: 158.6 MB / 184.2 MB, free: 3.055 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.006668/0.006668, allocations: 1.428 MB / 237.9 MB, free: 13.93 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.673e-06/1.673e-06, allocations: 0 / 352.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.17e-05, allocations: 2.281 kB / 352.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001588/0.00161, allocations: 1.397 MB / 353.8 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002152/0.001825, allocations: 91.69 kB / 353.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.001864, allocations: 4 kB / 353.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.00189, allocations: 11.92 kB / 353.9 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.883e-05/0.001929, allocations: 3.938 kB / 354 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.002085, allocations: 11.94 kB / 354 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.267e-05/0.002147, allocations: 27.91 kB / 354 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.002243, allocations: 7.984 kB / 354 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.847e-05/0.002282, allocations: 8 kB / 354 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.002325, allocations: 11.92 kB / 354 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.002347, allocations: 0 / 354 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-06/0.002354, allocations: 4 kB / 354 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.002372, allocations: 8 kB / 354 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.002401, allocations: 11.98 kB / 354 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.518e-05/0.002476, allocations: 23.91 kB / 354.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002478, allocations: 0 / 354.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.002479, allocations: 0 / 354.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.002484, allocations: 3.984 kB / 354.1 MB, free: 14.28 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.0003419/0.002826, allocations: 262.3 kB / 354.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.002865, allocations: 11.98 kB / 354.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.371e-05/0.002888, allocations: 38.73 kB / 354.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.002912, allocations: 4.938 kB / 354.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.913e-05/0.002961, allocations: 117.7 kB / 354.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.002978, allocations: 384 / 354.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.002986, allocations: 384 / 354.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.845e-05/0.003084, allocations: 52.16 kB / 354.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.003092, allocations: 192 / 354.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.0031, allocations: 4.359 kB / 354.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.003106, allocations: 4.125 kB / 354.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.62e-05/0.003182, allocations: 31.97 kB / 354.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002514/0.003434, allocations: 220 kB / 354.8 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.003539, allocations: 54.55 kB / 354.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.003572, allocations: 17 kB / 354.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.003581, allocations: 4 kB / 354.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.003713, allocations: 71.31 kB / 354.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.003714, allocations: 0 / 354.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001884/0.003902, allocations: 97.53 kB / 355 MB, free: 13.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.003925, allocations: 51.41 kB / 355.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.267e-05/0.003957, allocations: 109.8 kB / 355.2 MB, free: 12.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.003964, allocations: 25.7 kB / 355.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.865e-05/0.003982, allocations: 92.09 kB / 355.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.003999, allocations: 11.83 kB / 355.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.004022, allocations: 17.72 kB / 355.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.58e-05/0.004047, allocations: 314.8 kB / 355.6 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/0.004078, allocations: 19.98 kB / 355.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.799e-05/0.004116, allocations: 38.56 kB / 355.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.004e-05/0.004176, allocations: 50.48 kB / 355.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.004178, allocations: 0 / 355.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.218e-05/0.00426, allocations: 81.5 kB / 355.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.004271, allocations: 4 kB / 355.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.004276, allocations: 8.062 kB / 355.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.004287, allocations: 0 / 355.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.917e-05/0.004336, allocations: 11.98 kB / 355.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.004341, allocations: 0 / 355.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.00436, allocations: 7.938 kB / 355.9 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.004364, allocations: 0 / 355.9 MB, free: 12.27 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 3.963e-05/0.004403, allocations: 117.8 kB / 356 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-06/0.004409, allocations: 7.938 kB / 356 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.004431, allocations: 3.688 kB / 356 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.004433, allocations: 0 / 356 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.004437, allocations: 4 kB / 356 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.004441, allocations: 0 / 356 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.19e-05/0.004502, allocations: 132.8 kB / 356.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.004503, allocations: 0 / 356.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-05/0.004519, allocations: 15.92 kB / 356.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-06/0.00452, allocations: 240 / 356.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.004526, allocations: 0 / 356.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.004527, allocations: 0 / 356.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.004528, allocations: 0 / 356.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.081e-05/0.004619, allocations: 113 kB / 356.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.004624, allocations: 3.938 kB / 356.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.004633, allocations: 4 kB / 356.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.688e-05/0.00465, allocations: 384 / 356.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.004682, allocations: 11.98 kB / 356.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.004685, allocations: 7.938 kB / 356.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.286e-05/0.004698, allocations: 79.28 kB / 356.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004698, allocations: 0 / 356.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001255/0.004823, allocations: 11.94 kB / 356.4 MB, free: 11.7 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.0001676/0.004991, allocations: 0.628 MB / 357 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.005098, allocations: 43.89 kB / 357 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0051, allocations: 0 / 357 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.005137, allocations: 19.98 kB / 357.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.00524, allocations: 7.938 kB / 357.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.00551, allocations: 158.3 kB / 357.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.04e-05/0.00554, allocations: 71.41 kB / 357.3 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.606e-05/0.005556, allocations: 3.984 kB / 357.3 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.005589, allocations: 16.5 kB / 357.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.005589, allocations: 0 / 357.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.01943, allocations: 1.937 MB / 359.2 MB, free: 8.691 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.292, allocations: 11.86 kB / 359.3 MB, free: 8.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestDutyCycleGenerator_fmu --startTime=0 --stopTime=20 --stepSize=0.04 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestDutyCycleGenerator.fmu > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.909441579133272] Failed to read output from testmodel.py, exit status != 0: 7.369515157304704 7.377739602 7.373274758 Calling exit ...