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.00129/0.00129, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001475/0.001475, allocations: 211.4 kB / 23.03 MB, free: 4.926 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.36/1.36, allocations: 207.7 MB / 233.9 MB, free: 9.789 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.008424/0.008424, allocations: 1.974 MB / 288.1 MB, free: 3.668 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="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.002119/0.002119, allocations: 75.86 kB / 402.5 MB, free: 50.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08322/0.08534, allocations: 49.7 MB / 452.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002107/0.08744, allocations: 1.389 MB / 453.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002707/0.08771, allocations: 91.75 kB / 453.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.08777, allocations: 0 / 453.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.0878, allocations: 3.938 kB / 453.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.08785, allocations: 3.938 kB / 453.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.08803, allocations: 19.92 kB / 453.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.211e-05/0.0881, allocations: 27.86 kB / 453.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.08821, allocations: 7.938 kB / 453.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.192e-05/0.08824, allocations: 11.98 kB / 453.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.08829, allocations: 11.94 kB / 453.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.08831, allocations: 4 kB / 453.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.08832, allocations: 0 / 453.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.08834, allocations: 7.969 kB / 453.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.08838, allocations: 11.94 kB / 453.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.399e-05/0.08847, allocations: 19.92 kB / 453.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.08847, allocations: 3.984 kB / 453.9 MB, free: 4.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.08847, allocations: 4 kB / 453.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.08848, allocations: 0 / 453.9 MB, free: 4.461 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.0004517/0.08893, allocations: 266.3 kB / 454.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.08897, allocations: 11.98 kB / 454.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.571e-05/0.08899, allocations: 8.172 kB / 454.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.261e-05/0.08901, allocations: 34.69 kB / 454.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.08904, allocations: 0.9375 kB / 454.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.36e-05/0.08911, allocations: 110.5 kB / 454.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.08913, allocations: 384 / 454.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.08914, allocations: 8.375 kB / 454.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.08927, allocations: 57.97 kB / 454.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.08928, allocations: 0 / 454.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.08929, allocations: 0 / 454.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.08929, allocations: 0 / 454.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.0894, allocations: 27.97 kB / 454.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.08969, allocations: 227.9 kB / 454.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.08984, allocations: 62.55 kB / 454.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.08989, allocations: 20.94 kB / 454.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.0899, allocations: 0 / 454.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.09006, allocations: 71.31 kB / 454.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.09006, allocations: 0 / 454.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002672/0.09033, allocations: 89.61 kB / 454.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.09036, allocations: 59.41 kB / 454.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.778e-05/0.09041, allocations: 97.84 kB / 455 MB, free: 3.164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.09041, allocations: 33.7 kB / 455 MB, free: 3.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.09044, allocations: 80.14 kB / 455.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.09046, allocations: 7.938 kB / 455.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.09049, allocations: 17.72 kB / 455.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.09054, allocations: 326.8 kB / 455.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.148e-05/0.09059, allocations: 11.98 kB / 455.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.472e-05/0.09065, allocations: 42.44 kB / 455.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.5e-05/0.09074, allocations: 54.55 kB / 455.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.09074, allocations: 0 / 455.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001292/0.09087, allocations: 73.56 kB / 455.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.09088, allocations: 8 kB / 455.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.09089, allocations: 0 / 455.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.09091, allocations: 0 / 455.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.09098, allocations: 19.98 kB / 455.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.09098, allocations: 0 / 455.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.09102, allocations: 8 kB / 455.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.09102, allocations: 7.984 kB / 455.7 MB, free: 2.438 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.57e-05/0.09108, allocations: 117.7 kB / 455.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.09109, allocations: 0 / 455.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.09111, allocations: 7.922 kB / 455.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.09112, allocations: 7.984 kB / 455.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.09112, allocations: 0 / 455.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.09112, allocations: 0 / 455.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.223e-05/0.09121, allocations: 132.7 kB / 455.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.09121, allocations: 4 kB / 455.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.09124, allocations: 7.984 kB / 455.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.09124, allocations: 0 / 455.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.09125, allocations: 3.938 kB / 455.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.09125, allocations: 384 / 455.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.09125, allocations: 4 kB / 455.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.0914, allocations: 108.9 kB / 456.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.09141, allocations: 4 kB / 456.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.09142, allocations: 8 kB / 456.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.66e-05/0.09146, allocations: 4 kB / 456.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.0915, allocations: 3.984 kB / 456.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.0915, allocations: 0 / 456.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.211e-05/0.09152, allocations: 87.28 kB / 456.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09152, allocations: 0 / 456.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001776/0.0917, allocations: 4 kB / 456.2 MB, free: 1.863 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.0002989/0.092, allocations: 0.628 MB / 456.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.09215, allocations: 43.95 kB / 456.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.09215, allocations: 7.938 kB / 456.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.09221, allocations: 23.92 kB / 456.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.09235, allocations: 0 / 456.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.09269, allocations: 151.2 kB / 457 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.914e-05/0.09272, allocations: 63.34 kB / 457.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.246e-05/0.09274, allocations: 12.11 kB / 457.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.09277, allocations: 11.44 kB / 457.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09277, allocations: 0 / 457.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.1127, allocations: 1.481 MB / 458.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.87, allocations: 8.016 kB / 458.6 MB, free: 15.3 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 & /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: 13.36758019705303] Failed to read output from testmodel.py, exit status != 0: 11.030070506967604 11.056491302 10.963422055 Calling exit ...