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.01122/0.01122, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.02082/0.02082, allocations: 1.934 MB / 17.79 MB, free: 4.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 224.4 MB, free: 11.98 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.001235/0.001234, allocations: 90.16 kB / 273.3 MB, free: 11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 8 kB / 331.9 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 48.09 MB / 380 MB, free: 10.61 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3345/0.449, allocations: 74.95 MB / 455 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.4493, allocations: 59.97 kB / 455 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001893/0.4512, allocations: 0.6682 MB / 455.7 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4512, allocations: 3.938 kB / 455.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.4512, allocations: 0 / 455.7 MB, free: 11.79 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.0004432/0.4517, allocations: 349 kB / 456 MB, free: 11.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.4518, allocations: 12.03 kB / 456.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.4518, allocations: 30.56 kB / 456.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.4518, allocations: 0 / 456.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.452, allocations: 171 kB / 456.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.452, allocations: 0 / 456.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.452, allocations: 3.953 kB / 456.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.4522, allocations: 57.67 kB / 456.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.4522, allocations: 0 / 456.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4522, allocations: 0 / 456.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4522, allocations: 7.938 kB / 456.3 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.4524, allocations: 39.91 kB / 456.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.4528, allocations: 262 kB / 456.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.453, allocations: 62.53 kB / 456.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.453, allocations: 4 kB / 456.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.4532, allocations: 75.39 kB / 456.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.4532, allocations: 0 / 456.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003319/0.4536, allocations: 105.6 kB / 456.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.4536, allocations: 51.41 kB / 456.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/0.4537, allocations: 97 kB / 457 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.4537, allocations: 25.7 kB / 457 MB, free: 10.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.4538, allocations: 84.14 kB / 457.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.4538, allocations: 11.89 kB / 457.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.4539, allocations: 4 kB / 457.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.454, allocations: 314.8 kB / 457.4 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.4541, allocations: 15.98 kB / 457.4 MB, free: 9.836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.843e-05/0.4542, allocations: 46.44 kB / 457.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.323e-05/0.4543, allocations: 23.98 kB / 457.5 MB, free: 9.762 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4543, allocations: 3.953 kB / 457.5 MB, free: 9.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001717/0.4544, allocations: 85.56 kB / 457.6 MB, free: 9.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4545, allocations: 8 kB / 457.6 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4545, allocations: 4 kB / 457.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4545, allocations: 0 / 457.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.4546, allocations: 11.83 kB / 457.6 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4546, allocations: 5.094 kB / 457.6 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.4547, allocations: 11.98 kB / 457.6 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4547, allocations: 0 / 457.6 MB, free: 9.633 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 () * 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 9.522e-05/0.4548, allocations: 117.8 kB / 457.8 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.4548, allocations: 7.953 kB / 457.8 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.4549, allocations: 11.44 kB / 457.8 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4549, allocations: 240 / 457.8 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4549, allocations: 0 / 457.8 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4549, allocations: 3.984 kB / 457.8 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.4551, allocations: 165.6 kB / 457.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4551, allocations: 0 / 457.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.4551, allocations: 15.94 kB / 458 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4551, allocations: 4 kB / 458 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.4551, allocations: 0 / 458 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4552, allocations: 3.938 kB / 458 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4552, allocations: 0 / 458 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.4554, allocations: 113 kB / 458.1 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.4554, allocations: 81.11 kB / 458.2 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.4555, allocations: 3.953 kB / 458.2 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/0.4555, allocations: 7.984 kB / 458.2 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.4556, allocations: 4 kB / 458.2 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.4556, allocations: 0 / 458.2 MB, free: 9.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.053e-05/0.4557, allocations: 87.22 kB / 458.3 MB, free: 8.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4557, allocations: 0 / 458.3 MB, free: 8.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.4558, allocations: 8 kB / 458.3 MB, free: 8.91 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 () * 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.0005793/0.4564, allocations: 0.64 MB / 458.9 MB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.4566, allocations: 59.89 kB / 459 MB, free: 8.188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4567, allocations: 0 / 459 MB, free: 8.188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.4567, allocations: 19.98 kB / 459 MB, free: 8.168 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.4569, allocations: 7.953 kB / 459 MB, free: 8.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.4574, allocations: 155.6 kB / 459.1 MB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.4577, allocations: 0.6848 MB / 459.8 MB, free: 7.258 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.661e-05/0.4578, allocations: 0 / 459.8 MB, free: 7.258 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.4578, allocations: 11.44 kB / 459.8 MB, free: 7.246 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4578, allocations: 4 kB / 459.8 MB, free: 7.242 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.4699, allocations: 1.018 MB / 460.9 MB, free: 6.242 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.4702, allocations: 149.3 kB / 461 MB, free: 5.996 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.025, allocations: 4 kB / 461 MB, free: 5.992 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)