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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002244/0.002244, allocations: 109 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002357/0.002357, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.475/1.475, allocations: 205.1 MB / 227.2 MB, free: 12.14 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.01236/0.01236, allocations: 1.931 MB / 278.5 MB, free: 7.969 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 76.2 kB / 386.5 MB, free: 51.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.09156, allocations: 47.12 MB / 433.6 MB, free: 16.58 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002309/0.09392, allocations: 1.397 MB / 435 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002536/0.0942, allocations: 99.73 kB / 435.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.09428, allocations: 0 / 435.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.09432, allocations: 3.938 kB / 435.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.329e-05/0.09437, allocations: 4 kB / 435.1 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.09455, allocations: 15.92 kB / 435.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.269e-05/0.09463, allocations: 23.92 kB / 435.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.09474, allocations: 7.984 kB / 435.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.408e-05/0.09478, allocations: 11.94 kB / 435.1 MB, free: 15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.09484, allocations: 11.98 kB / 435.1 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.09486, allocations: 4 kB / 435.2 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.09488, allocations: 0 / 435.2 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.0949, allocations: 7.922 kB / 435.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.09495, allocations: 11.94 kB / 435.2 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.74e-05/0.09504, allocations: 23.92 kB / 435.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.09505, allocations: 0 / 435.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.09506, allocations: 0 / 435.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.09507, allocations: 3.984 kB / 435.2 MB, free: 14.94 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.0004036/0.09548, allocations: 339.4 kB / 435.5 MB, free: 14.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.09552, allocations: 11.89 kB / 435.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.896e-05/0.09556, allocations: 38.73 kB / 435.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.09559, allocations: 8.875 kB / 435.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.822e-05/0.09566, allocations: 172.3 kB / 435.8 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.09569, allocations: 4.375 kB / 435.8 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-06/0.0957, allocations: 384 / 435.8 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.09584, allocations: 50.23 kB / 435.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.09586, allocations: 3.938 kB / 435.8 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.09587, allocations: 3.938 kB / 435.8 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.09588, allocations: 0 / 435.8 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.096, allocations: 27.97 kB / 435.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.09629, allocations: 256.9 kB / 436.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.09646, allocations: 62.47 kB / 436.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.09653, allocations: 21 kB / 436.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.09655, allocations: 0 / 436.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.09674, allocations: 67.39 kB / 436.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.285e-06/0.09675, allocations: 0 / 436.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000278/0.09703, allocations: 97.53 kB / 436.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.09707, allocations: 51.41 kB / 436.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.424e-05/0.09712, allocations: 105.8 kB / 436.5 MB, free: 13.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.09714, allocations: 33.7 kB / 436.5 MB, free: 13.4 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.224e-05/0.09717, allocations: 84.14 kB / 436.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.09719, allocations: 3.953 kB / 436.6 MB, free: 13.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.09722, allocations: 17.72 kB / 436.6 MB, free: 13.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.799e-05/0.09727, allocations: 318.8 kB / 436.9 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.09733, allocations: 19.92 kB / 437 MB, free: 12.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.09741, allocations: 38.56 kB / 437 MB, free: 12.9 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.09752, allocations: 54.42 kB / 437.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.09753, allocations: 0 / 437.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001487/0.09769, allocations: 77.56 kB / 437.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.09771, allocations: 8.062 kB / 437.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.09772, allocations: 0 / 437.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.09774, allocations: 4 kB / 437.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.09782, allocations: 11.98 kB / 437.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.09783, allocations: 3.938 kB / 437.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.788e-05/0.09787, allocations: 7.938 kB / 437.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.09788, allocations: 0 / 437.2 MB, free: 12.72 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.187e-05/0.09794, allocations: 121.8 kB / 437.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.09796, allocations: 4 kB / 437.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.09799, allocations: 11.5 kB / 437.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.09799, allocations: 0 / 437.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.098, allocations: 0 / 437.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.09801, allocations: 0 / 437.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.748e-05/0.0981, allocations: 165.6 kB / 437.5 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.09811, allocations: 0 / 437.5 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.09815, allocations: 4 kB / 437.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.09816, allocations: 3.938 kB / 437.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.09817, allocations: 4 kB / 437.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.09818, allocations: 3.984 kB / 437.5 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.09819, allocations: 4 kB / 437.5 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.09836, allocations: 105.2 kB / 437.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.09838, allocations: 77.11 kB / 437.7 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.0984, allocations: 7.984 kB / 437.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.09845, allocations: 48 / 437.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.09849, allocations: 7.984 kB / 437.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.0985, allocations: 8.359 kB / 437.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.288e-05/0.09853, allocations: 87.28 kB / 437.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09853, allocations: 0 / 437.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000189/0.09873, allocations: 8 kB / 437.8 MB, free: 12.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.0003102/0.09904, allocations: 0.6319 MB / 438.4 MB, free: 11.35 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.09922, allocations: 35.97 kB / 438.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.09923, allocations: 3.938 kB / 438.4 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.0993, allocations: 27.92 kB / 438.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.09946, allocations: 0 / 438.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.0998, allocations: 151.2 kB / 438.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.305e-05/0.09991, allocations: 0.6808 MB / 439.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.14e-05/0.09994, allocations: 0 / 439.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.09998, allocations: 15.44 kB / 439.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.09998, allocations: 0 / 439.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.1236, allocations: 1.281 MB / 440.6 MB, free: 9.047 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.181, allocations: 7.969 kB / 440.6 MB, free: 9.039 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 sys.exit(0), Time elapsed: 10.739149152068421] Failed to read output from testmodel.py, exit status != 0: 8.248295207042247 8.260381283 8.162562749 Calling exit ...