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.0009577/0.0009577, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.0108/0.0108, allocations: 1.919 MB / 9.995 MB, free: 0.5977 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.3 MB / 216.2 MB, free: 15.9 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.0007001/0.0007002, allocations: 90.5 kB / 264.8 MB, free: 15.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.612e-05/1.617e-05, allocations: 0 / 319.1 MB, free: 19.67 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07684/0.07687, allocations: 48.08 MB / 367.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2667/0.3437, allocations: 74.2 MB / 441.4 MB, free: 3.473 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000167/0.3439, allocations: 62.7 kB / 441.5 MB, free: 3.441 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001791/0.3457, allocations: 0.6728 MB / 442.2 MB, free: 2.828 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3457, allocations: 0 / 442.2 MB, free: 2.828 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3457, allocations: 0 / 442.2 MB, free: 2.828 MB / 314.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.0004316/0.3461, allocations: 335.2 kB / 442.5 MB, free: 2.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.3462, allocations: 12.02 kB / 442.5 MB, free: 2.449 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.3463, allocations: 8.688 kB / 442.5 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.3464, allocations: 163 kB / 442.7 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.3464, allocations: 4 kB / 442.7 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.3464, allocations: 3.953 kB / 442.7 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.76e-05/0.3465, allocations: 7.5 kB / 442.7 MB, free: 2.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.89e-05/0.3466, allocations: 40.94 kB / 442.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3466, allocations: 0 / 442.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3466, allocations: 0 / 442.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.3466, allocations: 11.92 kB / 442.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.347, allocations: 232.5 kB / 443 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.465e-05/0.3471, allocations: 39.61 kB / 443 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/0.3472, allocations: 11.67 kB / 443 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.3472, allocations: 4 kB / 443 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.3473, allocations: 54.92 kB / 443.1 MB, free: 1.801 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.3473, allocations: 7.938 kB / 443.1 MB, free: 1.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001648/0.3475, allocations: 52.28 kB / 443.1 MB, free: 1.742 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.3475, allocations: 55.41 kB / 443.2 MB, free: 1.676 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.497e-05/0.3476, allocations: 92.94 kB / 443.3 MB, free: 1.582 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3476, allocations: 25.7 kB / 443.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.3477, allocations: 88.12 kB / 443.4 MB, free: 1.461 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.3477, allocations: 11.66 kB / 443.4 MB, free: 1.453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.3477, allocations: 0 / 443.4 MB, free: 1.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3478, allocations: 310.8 kB / 443.7 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.3478, allocations: 7.125 kB / 443.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/0.3479, allocations: 23.67 kB / 443.7 MB, free: 1.109 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.103e-05/0.3479, allocations: 7.984 kB / 443.7 MB, free: 1.102 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3479, allocations: 8 kB / 443.7 MB, free: 1.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001017/0.348, allocations: 60.64 kB / 443.8 MB, free: 1.035 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.348, allocations: 4 kB / 443.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.348, allocations: 2.25 kB / 443.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3481, allocations: 0 / 443.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.085e-05/0.3481, allocations: 15.94 kB / 443.8 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.3482, allocations: 1.719 kB / 443.8 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.3482, allocations: 15.95 kB / 443.8 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.3482, allocations: 4 kB / 443.8 MB, free: 0.9961 MB / 314.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 5.862e-05/0.3483, allocations: 104.9 kB / 443.9 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.694e-05/0.3484, allocations: 59.52 kB / 444 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.3484, allocations: 3.938 kB / 444 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.3484, allocations: 7.625 kB / 444 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3484, allocations: 0 / 444 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3484, allocations: 4 kB / 444 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3484, allocations: 0 / 444 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.3486, allocations: 137.7 kB / 444.2 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3486, allocations: 4 kB / 444.2 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.3486, allocations: 15.89 kB / 444.2 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3486, allocations: 3.984 kB / 444.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.3487, allocations: 0 / 444.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3487, allocations: 0.5625 kB / 444.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3487, allocations: 4 kB / 444.2 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.3488, allocations: 80.03 kB / 444.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.3488, allocations: 85.05 kB / 444.3 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3488, allocations: 7.953 kB / 444.4 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.64e-05/0.3489, allocations: 8.359 kB / 444.4 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.3489, allocations: 3.25 kB / 444.4 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.3489, allocations: 8 kB / 444.4 MB, free: 408 kB / 314.7 MB Notification: Performance of sorting global known variables: time 3.941e-05/0.349, allocations: 79.28 kB / 444.5 MB, free: 328 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.349, allocations: 0 / 444.5 MB, free: 328 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.000176/0.3492, allocations: 4 kB / 444.5 MB, free: 324 kB / 314.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.0003382/0.3495, allocations: 0.6189 MB / 445.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.385e-05/0.3496, allocations: 19.44 kB / 445.1 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3496, allocations: 0 / 445.1 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.3497, allocations: 15.88 kB / 445.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.433e-05/0.3498, allocations: 3.953 kB / 445.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.35, allocations: 100.9 kB / 445.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.3503, allocations: 0.6768 MB / 445.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.55e-05/0.3503, allocations: 7.938 kB / 445.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.3503, allocations: 7.438 kB / 445.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3504, allocations: 0 / 445.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.3667, allocations: 0.7477 MB / 446.6 MB, free: 14.06 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.3669, allocations: 101.1 kB / 446.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.38/1.747, allocations: 0 / 446.7 MB, free: 13.89 MB / 330.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)