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/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001234/0.001234, allocations: 195.8 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008301/0.008301, allocations: 1.935 MB / 271.4 MB, free: 3.516 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.001354/0.001354, allocations: 71.28 kB / 329.4 MB, free: 33.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07893/0.08029, allocations: 47.13 MB / 376.6 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002338/0.08267, allocations: 1.452 MB / 378 MB, free: 416 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002298/0.08292, allocations: 99.73 kB / 378.1 MB, free: 316 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.08297, allocations: 4 kB / 378.1 MB, free: 312 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.08301, allocations: 0 / 378.1 MB, free: 312 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.08305, allocations: 3.938 kB / 378.1 MB, free: 308 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.08321, allocations: 11.98 kB / 378.1 MB, free: 296 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.9e-05/0.08327, allocations: 23.94 kB / 378.2 MB, free: 272 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.813e-05/0.08337, allocations: 7.984 kB / 378.2 MB, free: 264 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.636e-05/0.0834, allocations: 11.94 kB / 378.2 MB, free: 252 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.372e-05/0.08345, allocations: 11.91 kB / 378.2 MB, free: 240 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.08347, allocations: 4 kB / 378.2 MB, free: 236 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-06/0.08349, allocations: 4 kB / 378.2 MB, free: 232 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.08351, allocations: 8 kB / 378.2 MB, free: 224 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.08355, allocations: 15.92 kB / 378.2 MB, free: 208 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 6.606e-05/0.08362, allocations: 19.92 kB / 378.2 MB, free: 188 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.08363, allocations: 0 / 378.2 MB, free: 188 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.08364, allocations: 0 / 378.2 MB, free: 188 kB / 270.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.08365, allocations: 3.938 kB / 378.2 MB, free: 184 kB / 270.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.0004406/0.0841, allocations: 339.7 kB / 378.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.08414, allocations: 11.89 kB / 378.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.08418, allocations: 38.75 kB / 378.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.318e-05/0.08421, allocations: 0.9375 kB / 378.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.08432, allocations: 176.3 kB / 378.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.08434, allocations: 4.375 kB / 378.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.08436, allocations: 384 / 378.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.08449, allocations: 54.22 kB / 378.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.08451, allocations: 3.938 kB / 378.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.08452, allocations: 0 / 378.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.08454, allocations: 0 / 378.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.08467, allocations: 39.91 kB / 378.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.08498, allocations: 244.9 kB / 379.1 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.08517, allocations: 58.58 kB / 379.2 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.843e-05/0.08525, allocations: 22.05 kB / 379.2 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.08526, allocations: 7.984 kB / 379.2 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.08548, allocations: 71.31 kB / 379.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.08549, allocations: 0 / 379.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002851/0.08578, allocations: 93.55 kB / 379.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.08582, allocations: 55.41 kB / 379.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.08589, allocations: 101.9 kB / 379.5 MB, free: 14.68 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.08591, allocations: 29.64 kB / 379.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.08595, allocations: 92.06 kB / 379.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.08597, allocations: 7.906 kB / 379.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.08601, allocations: 17.72 kB / 379.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.08611, allocations: 310.8 kB / 380 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.967e-05/0.08617, allocations: 19.98 kB / 380 MB, free: 14.19 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.08625, allocations: 42.48 kB / 380.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.08636, allocations: 46.5 kB / 380.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.08637, allocations: 0 / 380.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001891/0.08657, allocations: 81.59 kB / 380.2 MB, free: 14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.08659, allocations: 4 kB / 380.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.0866, allocations: 4 kB / 380.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.08662, allocations: 0 / 380.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.247e-05/0.08669, allocations: 15.92 kB / 380.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.08671, allocations: 0 / 380.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.608e-05/0.08675, allocations: 7.906 kB / 380.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.08676, allocations: 0 / 380.2 MB, free: 13.96 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,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 6.874e-05/0.08684, allocations: 121.8 kB / 380.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.08685, allocations: 4 kB / 380.3 MB, free: 13.83 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.08688, allocations: 7.719 kB / 380.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.08689, allocations: 0 / 380.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.0869, allocations: 0 / 380.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.08691, allocations: 3.984 kB / 380.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.08705, allocations: 165.6 kB / 380.5 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.08706, allocations: 384 / 380.5 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.0871, allocations: 7.984 kB / 380.5 MB, free: 13.6 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.08712, allocations: 12 kB / 380.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.08713, allocations: 0 / 380.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.08713, allocations: 0 / 380.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.08714, allocations: 3.938 kB / 380.5 MB, free: 13.58 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.08738, allocations: 101 kB / 380.6 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.08742, allocations: 85.02 kB / 380.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.08744, allocations: 4 kB / 380.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.08749, allocations: 11.98 kB / 380.7 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.08753, allocations: 0 / 380.7 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.08754, allocations: 0 / 380.7 MB, free: 13.35 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.015e-05/0.08759, allocations: 87.2 kB / 380.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08759, allocations: 4 kB / 380.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001831/0.08778, allocations: 8 kB / 380.8 MB, free: 13.25 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 (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.0004223/0.08821, allocations: 0.6319 MB / 381.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.08838, allocations: 39.97 kB / 381.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.08839, allocations: 0 / 381.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.08847, allocations: 27.92 kB / 381.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.08862, allocations: 4.125 kB / 381.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.08899, allocations: 155.1 kB / 381.7 MB, free: 12.33 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.08922, allocations: 0.6805 MB / 382.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.429e-05/0.08925, allocations: 4 kB / 382.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.08929, allocations: 11.44 kB / 382.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08929, allocations: 4 kB / 382.4 MB, free: 11.6 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08414/0.1734, allocations: 1.138 MB / 383.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/0.1738, allocations: 160.7 kB / 383.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/1.764, allocations: 0 / 383.7 MB, free: 10.2 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/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)