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.001642/0.001642, allocations: 107.5 kB / 16.45 MB, free: 6.504 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.001439/0.001439, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.406/1.406, allocations: 207.6 MB / 229.8 MB, free: 11.44 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.009145/0.009145, allocations: 1.971 MB / 283.6 MB, free: 5.09 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.002123/0.002123, allocations: 76.67 kB / 396.5 MB, free: 51.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07663/0.07876, allocations: 49.66 MB / 446.2 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002436/0.08119, allocations: 1.389 MB / 447.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002729/0.08147, allocations: 108.1 kB / 447.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.08151, allocations: 0 / 447.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.08154, allocations: 0 / 447.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.08158, allocations: 3.938 kB / 447.7 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.08176, allocations: 19.91 kB / 447.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.08183, allocations: 19.94 kB / 447.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.08194, allocations: 19.91 kB / 447.8 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.08197, allocations: 11.94 kB / 447.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.431e-05/0.08203, allocations: 7.984 kB / 447.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.08204, allocations: 0 / 447.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.08205, allocations: 4 kB / 447.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.08207, allocations: 7.938 kB / 447.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.08211, allocations: 15.92 kB / 447.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.96e-05/0.0822, allocations: 19.91 kB / 447.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.08221, allocations: 0 / 447.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.08221, allocations: 0 / 447.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.08222, allocations: 0 / 447.8 MB, free: 6.176 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.0005186/0.08274, allocations: 347.4 kB / 448.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.08278, allocations: 15.89 kB / 448.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.08281, allocations: 30.75 kB / 448.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.08284, allocations: 4.938 kB / 448.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.788e-05/0.08292, allocations: 172.3 kB / 448.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.08294, allocations: 384 / 448.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.08295, allocations: 4.312 kB / 448.4 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.08309, allocations: 54.23 kB / 448.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.0831, allocations: 3.938 kB / 448.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.08311, allocations: 0 / 448.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.08311, allocations: 4 kB / 448.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.08322, allocations: 27.97 kB / 448.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.08354, allocations: 240.9 kB / 448.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.08371, allocations: 70.45 kB / 448.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.08376, allocations: 20.94 kB / 448.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.08377, allocations: 0 / 448.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.08399, allocations: 67.39 kB / 448.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.08399, allocations: 4 kB / 448.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002809/0.08427, allocations: 97.53 kB / 449 MB, free: 4.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.08431, allocations: 51.41 kB / 449 MB, free: 4.789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.903e-05/0.08436, allocations: 101.9 kB / 449.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.08437, allocations: 25.7 kB / 449.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.516e-05/0.08439, allocations: 88.12 kB / 449.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.08441, allocations: 3.953 kB / 449.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.08444, allocations: 21.72 kB / 449.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.08449, allocations: 314.8 kB / 449.6 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.908e-05/0.08456, allocations: 15.98 kB / 449.6 MB, free: 4.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.08462, allocations: 38.55 kB / 449.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.659e-05/0.08471, allocations: 54.81 kB / 449.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.08471, allocations: 0 / 449.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001369/0.08485, allocations: 85.48 kB / 449.7 MB, free: 3.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.08486, allocations: 4 kB / 449.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.08487, allocations: 8.234 kB / 449.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.08488, allocations: 0 / 449.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.08496, allocations: 16.05 kB / 449.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.08497, allocations: 0 / 449.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.085, allocations: 4 kB / 449.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.085, allocations: 3.984 kB / 449.8 MB, free: 3.961 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.642e-05/0.08506, allocations: 125.7 kB / 449.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.08507, allocations: 4 kB / 449.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.0851, allocations: 7.484 kB / 449.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.0851, allocations: 0 / 449.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.08511, allocations: 0 / 449.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.08511, allocations: 4 kB / 449.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.243e-05/0.0852, allocations: 169.6 kB / 450.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.08521, allocations: 0 / 450.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.08524, allocations: 4 kB / 450.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.08524, allocations: 4 kB / 450.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.08525, allocations: 0 / 450.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.08525, allocations: 0 / 450.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.08525, allocations: 0 / 450.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.0854, allocations: 105 kB / 450.2 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.08543, allocations: 85.05 kB / 450.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.08544, allocations: 4 kB / 450.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.704e-05/0.08548, allocations: 7.984 kB / 450.3 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.08551, allocations: 3.938 kB / 450.3 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.08552, allocations: 0 / 450.3 MB, free: 3.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.108e-05/0.08554, allocations: 83.27 kB / 450.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08554, allocations: 0 / 450.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001826/0.08572, allocations: 16 kB / 450.4 MB, free: 3.254 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.0003237/0.08604, allocations: 0.6241 MB / 451 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.0862, allocations: 39.91 kB / 451 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.0862, allocations: 4.125 kB / 451.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.093e-05/0.08626, allocations: 19.98 kB / 451.1 MB, free: 2.535 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.08641, allocations: 4 kB / 451.1 MB, free: 2.531 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.08679, allocations: 151.1 kB / 451.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.804e-05/0.08689, allocations: 0.6884 MB / 451.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.259e-05/0.08691, allocations: 4 kB / 451.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.08694, allocations: 11.44 kB / 451.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.08694, allocations: 0 / 451.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.1093, allocations: 1.286 MB / 453.2 MB, free: 288 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.123, allocations: 11.95 kB / 453.2 MB, free: 276 kB / 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.521186933852732] Failed to read output from testmodel.py, exit status != 0: 8.188130768947303 8.202318613 8.117303226 Calling exit ...