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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01337/0.01337, allocations: 1.928 MB / 272.3 MB, free: 3.395 MB / 222.1 MB 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.0005428/0.0005428, allocations: 16.22 kB / 331 MB, free: 33.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.08631, allocations: 48.09 MB / 379.1 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001615/0.088, allocations: 1.101 MB / 380.2 MB, free: 0 / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002553/0.08827, allocations: 87.77 kB / 380.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.08832, allocations: 4 kB / 380.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.08834, allocations: 0 / 380.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.08841, allocations: 7.984 kB / 380.3 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.08858, allocations: 11.92 kB / 380.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.357e-05/0.08865, allocations: 15.98 kB / 380.3 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.08875, allocations: 3.984 kB / 380.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.08879, allocations: 11.94 kB / 380.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.253e-05/0.08886, allocations: 11.92 kB / 380.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.08888, allocations: 4 kB / 380.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.0889, allocations: 4 kB / 380.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.08892, allocations: 4 kB / 380.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.08897, allocations: 33.64 kB / 380.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.365e-05/0.08903, allocations: 15.97 kB / 380.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.08903, allocations: 0 / 380.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.08904, allocations: 0 / 380.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.08905, allocations: 0 / 380.4 MB, free: 15.78 MB / 286.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.000462/0.08952, allocations: 343.5 kB / 380.7 MB, free: 15.4 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.08959, allocations: 12.02 kB / 380.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.064e-05/0.08964, allocations: 34.56 kB / 380.8 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.08968, allocations: 3.938 kB / 380.8 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.0898, allocations: 159.1 kB / 380.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.08984, allocations: 8 kB / 380.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.08986, allocations: 3.953 kB / 380.9 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.09001, allocations: 53.67 kB / 381 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.09003, allocations: 4 kB / 381 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.09005, allocations: 0 / 381 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.09006, allocations: 0 / 381 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.09019, allocations: 43.89 kB / 381 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.09055, allocations: 264.8 kB / 381.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.09074, allocations: 62.55 kB / 381.3 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.09076, allocations: 0 / 381.3 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.09097, allocations: 83.47 kB / 381.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.09098, allocations: 0 / 381.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002938/0.09128, allocations: 97.66 kB / 381.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.09134, allocations: 51.41 kB / 381.6 MB, free: 14.39 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.641e-05/0.09141, allocations: 105.8 kB / 381.7 MB, free: 14.28 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.09143, allocations: 25.7 kB / 381.7 MB, free: 14.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.09149, allocations: 88.08 kB / 381.8 MB, free: 14.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.09151, allocations: 7.812 kB / 381.8 MB, free: 14.15 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.09152, allocations: 4 kB / 381.8 MB, free: 14.14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.09164, allocations: 318.8 kB / 382.1 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.09171, allocations: 23.88 kB / 382.1 MB, free: 13.8 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.09179, allocations: 42.55 kB / 382.2 MB, free: 13.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.642e-05/0.09187, allocations: 23.98 kB / 382.2 MB, free: 13.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.09188, allocations: 3.953 kB / 382.2 MB, free: 13.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001649/0.09205, allocations: 81.61 kB / 382.3 MB, free: 13.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.09207, allocations: 4 kB / 382.3 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.09208, allocations: 4 kB / 382.3 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.0921, allocations: 4.062 kB / 382.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.09219, allocations: 11.98 kB / 382.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.0922, allocations: 0 / 382.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.762e-05/0.09225, allocations: 8 kB / 382.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.09226, allocations: 0 / 382.3 MB, free: 13.61 MB / 286.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,$PRE.dutyCycleGenerator.offTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.547e-05/0.09235, allocations: 121.8 kB / 382.4 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.09238, allocations: 11.86 kB / 382.4 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.09242, allocations: 7.5 kB / 382.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.09242, allocations: 0 / 382.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.09243, allocations: 3.938 kB / 382.5 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.09244, allocations: 0 / 382.5 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.09258, allocations: 166 kB / 382.6 MB, free: 13.24 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.09259, allocations: 0 / 382.6 MB, free: 13.24 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.09265, allocations: 15.95 kB / 382.6 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.09266, allocations: 0 / 382.6 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.09267, allocations: 0 / 382.6 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.09267, allocations: 0 / 382.6 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.09268, allocations: 4 kB / 382.6 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.09288, allocations: 105.3 kB / 382.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.09293, allocations: 81.14 kB / 382.8 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.09296, allocations: 7.938 kB / 382.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.322e-05/0.09301, allocations: 8 kB / 382.8 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.09306, allocations: 11.94 kB / 382.8 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.09307, allocations: 0 / 382.8 MB, free: 12.97 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.88e-05/0.09311, allocations: 83.27 kB / 382.9 MB, free: 12.89 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09312, allocations: 0 / 382.9 MB, free: 12.89 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.0933, allocations: 4 kB / 382.9 MB, free: 12.89 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004077/0.09372, allocations: 0.6358 MB / 383.6 MB, free: 12.22 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.0939, allocations: 59.91 kB / 383.6 MB, free: 12.16 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.09392, allocations: 3.938 kB / 383.6 MB, free: 12.16 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.361e-05/0.09399, allocations: 19.98 kB / 383.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.09411, allocations: 7.953 kB / 383.7 MB, free: 12.13 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.09448, allocations: 155.6 kB / 383.8 MB, free: 11.94 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.09471, allocations: 0.677 MB / 384.5 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.599e-05/0.09474, allocations: 7.938 kB / 384.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.09478, allocations: 11.44 kB / 384.5 MB, free: 11.22 MB / 286.1 MB Notification: Performance of SimCode: time 3.5e-07/0.09479, allocations: 0 / 384.5 MB, free: 11.22 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.1057, allocations: 1.019 MB / 385.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.106, allocations: 155.9 kB / 385.7 MB, free: 9.961 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/1.933, allocations: 4 kB / 385.7 MB, free: 9.957 MB / 286.1 MB (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/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestDutyCycleGenerator_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestDutyCycleGenerator.fmu > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1) Environment - environmentSimulation: