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.00122/0.00122, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001271/0.001271, allocations: 211 kB / 20.13 MB, free: 2.969 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.368/1.368, allocations: 207.6 MB / 230.5 MB, free: 4.008 MB / 174.1 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.009151/0.009151, allocations: 1.974 MB / 284.3 MB, free: 14.35 MB / 238.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestDutyCycleGenerator,fileNamePrefix="MEV_MEV_Test_TestDutyCycleGenerator",fmuType="cs",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.002407/0.002407, allocations: 72.86 kB / 397.3 MB, free: 8.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2751, allocations: 49.66 MB / 446.9 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002654/0.2778, allocations: 1.386 MB / 448.3 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002692/0.2781, allocations: 101.1 kB / 448.4 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.2781, allocations: 4 kB / 448.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.2781, allocations: 0.6094 kB / 448.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.2782, allocations: 5.844 kB / 448.4 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.2784, allocations: 20.66 kB / 448.5 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.49e-05/0.2784, allocations: 21.55 kB / 448.5 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2785, allocations: 12.08 kB / 448.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.273e-05/0.2786, allocations: 9.531 kB / 448.5 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.2786, allocations: 9.797 kB / 448.5 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.2786, allocations: 2.312 kB / 448.5 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.2787, allocations: 2.312 kB / 448.5 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.2787, allocations: 14.83 kB / 448.5 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.2787, allocations: 13 kB / 448.5 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.37e-05/0.2788, allocations: 23.19 kB / 448.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2788, allocations: 0 / 448.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2788, allocations: 0.9062 kB / 448.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.2788, allocations: 0 / 448.6 MB, free: 7.336 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.0005072/0.2793, allocations: 340.9 kB / 448.9 MB, free: 6.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.2794, allocations: 13.78 kB / 448.9 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.808e-05/0.2794, allocations: 5.562 kB / 448.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.227e-05/0.2794, allocations: 31.31 kB / 449 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.2795, allocations: 8.031 kB / 449 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.439e-05/0.2796, allocations: 170.8 kB / 449.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.2796, allocations: 5.688 kB / 449.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.2796, allocations: 1.656 kB / 449.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.2798, allocations: 52.06 kB / 449.2 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2798, allocations: 2 kB / 449.2 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2798, allocations: 7.984 kB / 449.2 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2798, allocations: 5.031 kB / 449.2 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.2799, allocations: 28.58 kB / 449.2 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.2802, allocations: 253.5 kB / 449.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.2804, allocations: 58.42 kB / 449.5 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/0.2805, allocations: 20.78 kB / 449.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.2805, allocations: 2.438 kB / 449.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.2807, allocations: 64.22 kB / 449.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.2807, allocations: 0 / 449.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000311/0.281, allocations: 100.3 kB / 449.7 MB, free: 6.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.281, allocations: 53.28 kB / 449.8 MB, free: 6.172 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.513e-05/0.2811, allocations: 103.1 kB / 449.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.2811, allocations: 25.7 kB / 449.9 MB, free: 6.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.346e-05/0.2811, allocations: 82.14 kB / 450 MB, free: 5.957 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.2811, allocations: 11.39 kB / 450 MB, free: 5.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.2812, allocations: 17.5 kB / 450 MB, free: 5.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.2812, allocations: 318.2 kB / 450.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.2813, allocations: 20.69 kB / 450.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.2814, allocations: 35.14 kB / 450.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.2815, allocations: 53.27 kB / 450.4 MB, free: 5.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2815, allocations: 5.125 kB / 450.4 MB, free: 5.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001586/0.2816, allocations: 78.59 kB / 450.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2816, allocations: 6.625 kB / 450.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2816, allocations: 0 / 450.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2817, allocations: 1.25 kB / 450.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.482e-05/0.2817, allocations: 10.3 kB / 450.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2817, allocations: 1.062 kB / 450.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.2818, allocations: 5.531 kB / 450.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.2818, allocations: 6.344 kB / 450.5 MB, free: 5.488 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.387e-05/0.2818, allocations: 120.8 kB / 450.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.2818, allocations: 2.766 kB / 450.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.2819, allocations: 5.219 kB / 450.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2819, allocations: 5.062 kB / 450.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2819, allocations: 0.6094 kB / 450.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2819, allocations: 0 / 450.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.004e-05/0.282, allocations: 167.9 kB / 450.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.282, allocations: 240 / 450.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.282, allocations: 11.72 kB / 450.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.282, allocations: 2.203 kB / 450.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.282, allocations: 0 / 450.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.282, allocations: 5.953 kB / 450.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.282, allocations: 3.984 kB / 450.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.2822, allocations: 104.4 kB / 451 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.2822, allocations: 83.19 kB / 451 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.2822, allocations: 2.172 kB / 451 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.004e-05/0.2823, allocations: 4.359 kB / 451 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.2823, allocations: 7.734 kB / 451 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2823, allocations: 1.875 kB / 451 MB, free: 4.961 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.56e-05/0.2823, allocations: 80.62 kB / 451.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2823, allocations: 0 / 451.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001811/0.2825, allocations: 10.45 kB / 451.1 MB, free: 4.883 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.0003376/0.2829, allocations: 0.6242 MB / 451.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.2831, allocations: 45.72 kB / 451.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2831, allocations: 0 / 451.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.2831, allocations: 25.64 kB / 451.8 MB, free: 4.258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.2833, allocations: 5.375 kB / 451.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.2836, allocations: 158.6 kB / 452 MB, free: 4.086 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.435e-05/0.2837, allocations: 0.6771 MB / 452.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.036e-05/0.2837, allocations: 4.953 kB / 452.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.2837, allocations: 8.812 kB / 452.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.2838, allocations: 4 kB / 452.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.2986, allocations: 1.311 MB / 454 MB, free: 2.875 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.235, allocations: 11.09 kB / 454 MB, free: 2.867 MB / 318.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 & /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 os._exit(0), Time elapsed: 10.46626268205] Failed to read output from testmodel.py, exit status != 0: 8.35322124301456 8.36509756 8.08367956 Calling exit ...