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.001465/0.001465, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001834/0.001834, allocations: 218 kB / 22.26 MB, free: 5.078 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.408/1.408, allocations: 207.6 MB / 233 MB, free: 10 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.01005/0.01005, allocations: 1.977 MB / 287.3 MB, free: 3.961 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="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.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.002592/0.002592, allocations: 74.12 kB / 401.8 MB, free: 50.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0766/0.07919, allocations: 49.71 MB / 451.5 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002576/0.08177, allocations: 1.39 MB / 452.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002775/0.08205, allocations: 99.72 kB / 453 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.0821, allocations: 4 kB / 453 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.08213, allocations: 3.938 kB / 453 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.923e-05/0.08218, allocations: 3.938 kB / 453 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.08235, allocations: 11.98 kB / 453 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.137e-05/0.08242, allocations: 23.92 kB / 453 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.08252, allocations: 11.94 kB / 453 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.08255, allocations: 11.92 kB / 453 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.08261, allocations: 11.98 kB / 453.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.08262, allocations: 0 / 453.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.08263, allocations: 8 kB / 453.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.08265, allocations: 7.938 kB / 453.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.08269, allocations: 15.92 kB / 453.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.27e-05/0.08277, allocations: 15.92 kB / 453.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.08278, allocations: 0 / 453.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.08278, allocations: 0 / 453.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.08279, allocations: 0 / 453.1 MB, free: 4.652 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.0004093/0.0832, allocations: 266.3 kB / 453.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.08324, allocations: 23.92 kB / 453.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.61e-05/0.08327, allocations: 30.75 kB / 453.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.0833, allocations: 4.922 kB / 453.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.592e-05/0.08336, allocations: 114.5 kB / 453.5 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.08338, allocations: 384 / 453.5 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.08339, allocations: 4.375 kB / 453.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.08353, allocations: 54.17 kB / 453.6 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.08354, allocations: 3.938 kB / 453.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.08355, allocations: 0 / 453.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.08356, allocations: 0 / 453.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.08367, allocations: 31.97 kB / 453.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.08395, allocations: 224 kB / 453.8 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.08412, allocations: 58.55 kB / 453.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.08418, allocations: 20.94 kB / 453.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.08419, allocations: 3.984 kB / 453.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.08441, allocations: 71.31 kB / 454 MB, free: 3.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.08441, allocations: 0 / 454 MB, free: 3.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002786/0.08469, allocations: 89.61 kB / 454.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.08471, allocations: 59.39 kB / 454.1 MB, free: 3.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.266e-05/0.08477, allocations: 105.9 kB / 454.2 MB, free: 3.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.08478, allocations: 25.7 kB / 454.3 MB, free: 3.312 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.0848, allocations: 84.14 kB / 454.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.08484, allocations: 11.94 kB / 454.4 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.08487, allocations: 17.72 kB / 454.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.08492, allocations: 310.8 kB / 454.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.08497, allocations: 19.98 kB / 454.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.327e-05/0.08503, allocations: 38.5 kB / 454.7 MB, free: 2.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.879e-05/0.08512, allocations: 54.42 kB / 454.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.08513, allocations: 0 / 454.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001452/0.08527, allocations: 85.55 kB / 454.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.08529, allocations: 8 kB / 454.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.08529, allocations: 0 / 454.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.08531, allocations: 0 / 454.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.08539, allocations: 11.94 kB / 454.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.08539, allocations: 7.969 kB / 454.9 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.08543, allocations: 4 kB / 454.9 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.08543, allocations: 4 kB / 454.9 MB, free: 2.625 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 6.02e-05/0.08549, allocations: 125.8 kB / 455 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.0855, allocations: 0 / 455 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.08553, allocations: 3.688 kB / 455 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.08553, allocations: 3.984 kB / 455 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.08554, allocations: 4 kB / 455 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.08554, allocations: 0 / 455 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.293e-05/0.08563, allocations: 132.7 kB / 455.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.08563, allocations: 7.938 kB / 455.2 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.08567, allocations: 7.984 kB / 455.2 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.08568, allocations: 4 kB / 455.2 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.08568, allocations: 0 / 455.2 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.08569, allocations: 0 / 455.2 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.08569, allocations: 0 / 455.2 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.08584, allocations: 108.9 kB / 455.3 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.08585, allocations: 0 / 455.3 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.08587, allocations: 8.375 kB / 455.3 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.796e-05/0.0859, allocations: 7.984 kB / 455.3 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.08595, allocations: 8.281 kB / 455.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.08595, allocations: 0 / 455.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.351e-05/0.08598, allocations: 87.27 kB / 455.4 MB, free: 2.047 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.08598, allocations: 0 / 455.4 MB, free: 2.047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001843/0.08616, allocations: 4 kB / 455.4 MB, free: 2.043 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.0003195/0.08648, allocations: 0.6358 MB / 456 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.08665, allocations: 35.97 kB / 456.1 MB, free: 1.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.08665, allocations: 4 kB / 456.1 MB, free: 1.336 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.439e-05/0.08671, allocations: 23.92 kB / 456.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.08686, allocations: 8.062 kB / 456.1 MB, free: 1.305 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.08725, allocations: 156.9 kB / 456.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.08737, allocations: 0.6768 MB / 456.9 MB, free: 420 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.384e-05/0.0874, allocations: 4 kB / 457 MB, free: 416 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.08743, allocations: 7.438 kB / 457 MB, free: 408 kB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.08743, allocations: 0 / 457 MB, free: 408 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.1181, allocations: 1.416 MB / 458.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/10.99, allocations: 12 kB / 458.4 MB, free: 14.93 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 sys.exit(0), Time elapsed: 13.457233135821298] Failed to read output from testmodel.py, exit status != 0: 11.088993883924559 11.105233252 11.019262421 Calling exit ...