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.001072/0.001073, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006524/0.006524, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.444/1.444, allocations: 205.4 MB / 222.4 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007224/0.007224, allocations: 1.924 MB / 272.7 MB, free: 3.297 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.0004712/0.0004712, allocations: 24.77 kB / 331.6 MB, free: 32.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06985/0.07033, allocations: 48.1 MB / 379.7 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001663/0.07204, allocations: 1.117 MB / 380.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002299/0.0723, allocations: 91.75 kB / 380.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.07235, allocations: 4 kB / 380.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.07238, allocations: 0 / 380.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.07243, allocations: 3.938 kB / 380.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.07259, allocations: 7.984 kB / 380.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.023e-05/0.07265, allocations: 23.94 kB / 380.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.676e-05/0.07274, allocations: 15.97 kB / 381 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.632e-05/0.07277, allocations: 7.938 kB / 381 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.07282, allocations: 15.92 kB / 381 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.07284, allocations: 0 / 381 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-06/0.07286, allocations: 0 / 381 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.07288, allocations: 0 / 381 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.07293, allocations: 37.64 kB / 381 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.301e-05/0.073, allocations: 23.91 kB / 381 MB, free: 15.37 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.07302, allocations: 0 / 381 MB, free: 15.37 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.07302, allocations: 3.938 kB / 381 MB, free: 15.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.07303, allocations: 4 kB / 381.1 MB, free: 15.36 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.0005326/0.07357, allocations: 339.7 kB / 381.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.07362, allocations: 8.031 kB / 381.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.07367, allocations: 34.75 kB / 381.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.07369, allocations: 0.9375 kB / 381.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.07382, allocations: 176.3 kB / 381.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.07385, allocations: 4.375 kB / 381.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.07387, allocations: 4.375 kB / 381.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.07403, allocations: 54.23 kB / 381.7 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.07405, allocations: 3.938 kB / 381.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.07406, allocations: 0 / 381.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.07407, allocations: 0 / 381.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.07421, allocations: 43.91 kB / 381.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.07453, allocations: 245 kB / 381.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.07471, allocations: 70.48 kB / 382 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/0.07479, allocations: 21 kB / 382 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-06/0.07481, allocations: 0 / 382 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.075, allocations: 84.45 kB / 382.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.07501, allocations: 0 / 382.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003101/0.07532, allocations: 93.84 kB / 382.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.07539, allocations: 63.33 kB / 382.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.07548, allocations: 105.9 kB / 382.4 MB, free: 13.83 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.07551, allocations: 25.7 kB / 382.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.07556, allocations: 92.08 kB / 382.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.07561, allocations: 15.73 kB / 382.5 MB, free: 13.69 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.07564, allocations: 9.719 kB / 382.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.07585, allocations: 318.8 kB / 382.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.07593, allocations: 23.92 kB / 382.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.07601, allocations: 38.56 kB / 382.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.07616, allocations: 70.47 kB / 383 MB, free: 13.21 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.07618, allocations: 0 / 383 MB, free: 13.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001979/0.07638, allocations: 85.59 kB / 383 MB, free: 13.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.07641, allocations: 4 kB / 383 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.07642, allocations: 4.062 kB / 383 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.07645, allocations: 4 kB / 383.1 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.07654, allocations: 11.94 kB / 383.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.07655, allocations: 0 / 383.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.0766, allocations: 11.98 kB / 383.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.07661, allocations: 0 / 383.1 MB, free: 13.08 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 0.0001836/0.0768, allocations: 117.8 kB / 383.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.07683, allocations: 7.906 kB / 383.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.07686, allocations: 3.5 kB / 383.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.07688, allocations: 4 kB / 383.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.07689, allocations: 0 / 383.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.0769, allocations: 3.984 kB / 383.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.07708, allocations: 157.6 kB / 383.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.0771, allocations: 4 kB / 383.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.07715, allocations: 7.984 kB / 383.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.07716, allocations: 4 kB / 383.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.07717, allocations: 4 kB / 383.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.07718, allocations: 4 kB / 383.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.07719, allocations: 0 / 383.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.0774, allocations: 109 kB / 383.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.07747, allocations: 85.02 kB / 383.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.07749, allocations: 4 kB / 383.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.32e-05/0.07754, allocations: 7.984 kB / 383.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.07759, allocations: 4 kB / 383.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.07761, allocations: 4.375 kB / 383.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.261e-05/0.07766, allocations: 87.22 kB / 383.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.07766, allocations: 0 / 383.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001836/0.07785, allocations: 7.938 kB / 383.7 MB, free: 12.37 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.0005943/0.07845, allocations: 0.6397 MB / 384.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.07866, allocations: 51.95 kB / 384.4 MB, free: 11.65 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.07868, allocations: 0 / 384.4 MB, free: 11.65 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.518e-05/0.07877, allocations: 31.92 kB / 384.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.07893, allocations: 4 kB / 384.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.07935, allocations: 150.8 kB / 384.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.07964, allocations: 0.677 MB / 385.2 MB, free: 10.72 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.445e-05/0.07967, allocations: 4 kB / 385.2 MB, free: 10.72 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.07971, allocations: 15.42 kB / 385.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.07972, allocations: 0 / 385.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2899/0.3696, allocations: 1.037 MB / 386.3 MB, free: 9.672 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.3698, allocations: 159.7 kB / 386.4 MB, free: 9.418 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.207, allocations: 8.062 kB / 386.5 MB, free: 9.41 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)