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.001449/0.001449, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001654/0.001654, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.418/1.418, allocations: 207.6 MB / 233.8 MB, free: 9.973 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.009012/0.009012, allocations: 1.97 MB / 288 MB, free: 3.848 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.002126/0.002126, allocations: 67.88 kB / 402.6 MB, free: 50.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07841/0.08053, allocations: 49.7 MB / 452.3 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002184/0.08272, allocations: 1.401 MB / 453.7 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002354/0.08295, allocations: 95.69 kB / 453.8 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.08299, allocations: 0 / 453.8 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.08302, allocations: 0 / 453.8 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.991e-05/0.08306, allocations: 3.938 kB / 453.8 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.08322, allocations: 27.91 kB / 453.8 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.112e-05/0.08328, allocations: 19.92 kB / 453.8 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.784e-05/0.08337, allocations: 11.94 kB / 453.8 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.0834, allocations: 11.92 kB / 453.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.08344, allocations: 8 kB / 453.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.08346, allocations: 4 kB / 453.8 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.08347, allocations: 0 / 453.8 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.08349, allocations: 11.92 kB / 453.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.08352, allocations: 11.94 kB / 453.9 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.546e-05/0.0836, allocations: 27.89 kB / 453.9 MB, free: 4.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.0836, allocations: 4 kB / 453.9 MB, free: 4.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0836, allocations: 3.938 kB / 453.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.08361, allocations: 0 / 453.9 MB, free: 4.609 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.0003996/0.08401, allocations: 262.3 kB / 454.2 MB, free: 4.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.08404, allocations: 15.97 kB / 454.2 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.481e-05/0.08406, allocations: 192 / 454.2 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.943e-05/0.08408, allocations: 34.75 kB / 454.2 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.0841, allocations: 4.938 kB / 454.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.747e-05/0.08416, allocations: 114.5 kB / 454.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.08418, allocations: 384 / 454.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.08419, allocations: 384 / 454.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.08431, allocations: 57.92 kB / 454.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.08432, allocations: 0 / 454.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.08433, allocations: 0 / 454.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.08433, allocations: 7.984 kB / 454.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.08444, allocations: 27.97 kB / 454.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.0847, allocations: 224 kB / 454.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.08485, allocations: 58.48 kB / 454.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.661e-05/0.08491, allocations: 21 kB / 454.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.08492, allocations: 0 / 454.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.08507, allocations: 67.39 kB / 454.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.08507, allocations: 0 / 454.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000265/0.08534, allocations: 97.53 kB / 454.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.08537, allocations: 51.41 kB / 454.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.567e-05/0.08541, allocations: 105.8 kB / 455 MB, free: 3.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.08542, allocations: 29.7 kB / 455.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.309e-05/0.08544, allocations: 84.14 kB / 455.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.08546, allocations: 3.953 kB / 455.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.08549, allocations: 17.72 kB / 455.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.08553, allocations: 326.7 kB / 455.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.327e-05/0.08559, allocations: 16.23 kB / 455.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/0.08564, allocations: 42.56 kB / 455.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.08574, allocations: 50.48 kB / 455.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.08574, allocations: 0 / 455.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001343/0.08588, allocations: 77.62 kB / 455.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.08589, allocations: 8 kB / 455.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.0859, allocations: 4 kB / 455.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.08591, allocations: 0 / 455.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.08598, allocations: 11.98 kB / 455.7 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.08599, allocations: 0 / 455.7 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.08602, allocations: 4 kB / 455.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.08603, allocations: 0 / 455.7 MB, free: 2.605 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.421e-05/0.08608, allocations: 125.7 kB / 455.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.08609, allocations: 11.98 kB / 455.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.08611, allocations: 7.688 kB / 455.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.08611, allocations: 3.938 kB / 455.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.08612, allocations: 0 / 455.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.08612, allocations: 0 / 455.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.935e-05/0.0862, allocations: 136.7 kB / 456 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.0862, allocations: 0 / 456 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.08623, allocations: 4 kB / 456 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.08624, allocations: 4.234 kB / 456 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.08624, allocations: 0 / 456 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.08625, allocations: 0 / 456 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.08625, allocations: 4 kB / 456 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.0864, allocations: 109 kB / 456.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.0864, allocations: 4 kB / 456.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.08641, allocations: 0 / 456.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-05/0.08645, allocations: 7.984 kB / 456.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.08649, allocations: 0 / 456.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.08649, allocations: 8 kB / 456.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.414e-05/0.08652, allocations: 95.33 kB / 456.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08652, allocations: 0 / 456.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001765/0.08669, allocations: 4 kB / 456.2 MB, free: 2.012 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.0002884/0.08698, allocations: 0.628 MB / 456.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.08714, allocations: 43.84 kB / 456.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.08714, allocations: 0 / 456.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.429e-05/0.0872, allocations: 19.98 kB / 456.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.08735, allocations: 4 kB / 456.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.08769, allocations: 163.2 kB / 457.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.692e-05/0.08778, allocations: 0.6808 MB / 457.7 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.931e-05/0.0878, allocations: 4 kB / 457.7 MB, free: 384 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.08783, allocations: 11.44 kB / 457.8 MB, free: 372 kB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.08783, allocations: 0 / 457.8 MB, free: 372 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.1071, allocations: 1.46 MB / 459.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.63, allocations: 3.953 kB / 459.2 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 & /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.171243656077422] Failed to read output from testmodel.py, exit status != 0: 10.79133323696442 10.81570551 10.728124072 Calling exit ...