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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009646/0.0009646, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.007858/0.007858, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.2 MB / 221.4 MB, free: 7.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008132/0.0008133, allocations: 92.84 kB / 270.1 MB, free: 7.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.735e-05, allocations: 4 kB / 326.1 MB, free: 15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2152, allocations: 48.06 MB / 374.2 MB, free: 44.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07903/0.2942, allocations: 74.86 MB / 449 MB, free: 3.992 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.2945, allocations: 63.97 kB / 449.1 MB, free: 3.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001636/0.2961, allocations: 0.6654 MB / 449.8 MB, free: 3.273 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2961, allocations: 7.547 kB / 449.8 MB, free: 3.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2961, allocations: 4 kB / 449.8 MB, free: 3.266 MB / 330.7 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.0003029/0.2965, allocations: 330.7 kB / 450.1 MB, free: 2.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2965, allocations: 8.031 kB / 450.1 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.2965, allocations: 34.55 kB / 450.1 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.2966, allocations: 8.688 kB / 450.1 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.873e-05/0.2967, allocations: 171 kB / 450.3 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.2967, allocations: 7.188 kB / 450.3 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.2967, allocations: 3.953 kB / 450.3 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.289e-05/0.2968, allocations: 41.69 kB / 450.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.2968, allocations: 0 / 450.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.2968, allocations: 0 / 450.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2968, allocations: 0 / 450.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.509e-05/0.2969, allocations: 16 kB / 450.4 MB, free: 2.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.2972, allocations: 260.9 kB / 450.6 MB, free: 2.262 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.466e-05/0.2973, allocations: 42.5 kB / 450.7 MB, free: 2.211 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.2973, allocations: 12.92 kB / 450.7 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.2974, allocations: 0 / 450.7 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.2975, allocations: 55.5 kB / 450.7 MB, free: 2.129 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.2975, allocations: 5.203 kB / 450.7 MB, free: 2.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001424/0.2976, allocations: 61.53 kB / 450.8 MB, free: 2.059 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.2977, allocations: 55.41 kB / 450.9 MB, free: 1.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.485e-05/0.2977, allocations: 92.98 kB / 451 MB, free: 1.895 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2978, allocations: 29.7 kB / 451 MB, free: 1.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.2978, allocations: 84.14 kB / 451.1 MB, free: 1.773 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.2978, allocations: 7.906 kB / 451.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.2978, allocations: 0 / 451.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.298, allocations: 318.8 kB / 451.4 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.298, allocations: 8 kB / 451.4 MB, free: 1.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.004e-05/0.298, allocations: 30.94 kB / 451.4 MB, free: 1.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.57e-05/0.2981, allocations: 11.98 kB / 451.4 MB, free: 1.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2981, allocations: 0 / 451.4 MB, free: 1.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.857e-05/0.2982, allocations: 57.62 kB / 451.5 MB, free: 1.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2982, allocations: 8.062 kB / 451.5 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2982, allocations: 0 / 451.5 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.2982, allocations: 4 kB / 451.5 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.2983, allocations: 19.92 kB / 451.5 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2983, allocations: 0 / 451.5 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.2984, allocations: 11.91 kB / 451.5 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.2984, allocations: 0 / 451.5 MB, free: 1.285 MB / 330.7 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 () * 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 6.234e-05/0.2984, allocations: 115.5 kB / 451.6 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.2984, allocations: 4 kB / 451.6 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.2985, allocations: 7.5 kB / 451.7 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2985, allocations: 4 kB / 451.7 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2985, allocations: 3.938 kB / 451.7 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2985, allocations: 0 / 451.7 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.2986, allocations: 161.6 kB / 451.8 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2986, allocations: 3.953 kB / 451.8 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.2987, allocations: 8 kB / 451.8 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2987, allocations: 0 / 451.8 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.2987, allocations: 8 kB / 451.8 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2987, allocations: 0 / 451.8 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.2987, allocations: 3.984 kB / 451.8 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.2989, allocations: 85.44 kB / 451.9 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.2989, allocations: 88.91 kB / 452 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.299, allocations: 0 / 452 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.299, allocations: 12 kB / 452 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.2991, allocations: 7.984 kB / 452 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2991, allocations: 0 / 452 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.146e-05/0.2991, allocations: 83.28 kB / 452.1 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2991, allocations: 4 kB / 452.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.2993, allocations: 4 kB / 452.1 MB, free: 0.5977 MB / 330.7 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 () * 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.0003706/0.2997, allocations: 0.6163 MB / 452.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.094e-05/0.2998, allocations: 20.66 kB / 452.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2998, allocations: 4 kB / 452.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.2999, allocations: 15.94 kB / 452.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.3, allocations: 1.094 kB / 452.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.3003, allocations: 108.5 kB / 452.9 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.3006, allocations: 0.6819 MB / 453.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.3006, allocations: 4.453 kB / 453.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.3007, allocations: 15.38 kB / 453.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3007, allocations: 0 / 453.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01013/0.3108, allocations: 1.033 MB / 454.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.311, allocations: 123.7 kB / 454.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.385/1.696, allocations: 0 / 454.7 MB, free: 13.91 MB / 346.7 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)