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.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00104/0.00104, allocations: 196.6 kB / 16.14 MB, free: 6.688 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.374/1.374, allocations: 205.1 MB / 222 MB, free: 4.961 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008436/0.008436, allocations: 1.935 MB / 271.3 MB, free: 3.777 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.001422/0.001422, allocations: 67.91 kB / 329.3 MB, free: 33.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07664/0.07808, allocations: 47.13 MB / 376.4 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002621/0.08072, allocations: 1.452 MB / 377.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002392/0.08099, allocations: 99.72 kB / 377.9 MB, free: 448 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.08103, allocations: 0 / 377.9 MB, free: 448 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.08107, allocations: 0 / 377.9 MB, free: 448 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.68e-05/0.08114, allocations: 7.938 kB / 378 MB, free: 440 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.08129, allocations: 4 kB / 378 MB, free: 436 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.634e-05/0.08135, allocations: 27.86 kB / 378 MB, free: 408 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.49e-05/0.08144, allocations: 8 kB / 378 MB, free: 400 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.852e-05/0.08148, allocations: 7.984 kB / 378 MB, free: 392 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.08154, allocations: 19.92 kB / 378 MB, free: 372 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.08156, allocations: 3.938 kB / 378 MB, free: 368 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.08158, allocations: 0 / 378 MB, free: 368 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.0816, allocations: 0 / 378 MB, free: 368 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.08164, allocations: 15.92 kB / 378 MB, free: 352 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 8.431e-05/0.08173, allocations: 27.91 kB / 378.1 MB, free: 324 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.08174, allocations: 0 / 378.1 MB, free: 324 kB / 270.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.08175, allocations: 0 / 378.1 MB, free: 324 kB / 270.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.08176, allocations: 0 / 378.1 MB, free: 324 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.0004389/0.0822, allocations: 343.7 kB / 378.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.08225, allocations: 8.031 kB / 378.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.08228, allocations: 30.75 kB / 378.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.08231, allocations: 8.844 kB / 378.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.08242, allocations: 164.3 kB / 378.6 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.08244, allocations: 4.375 kB / 378.6 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.08246, allocations: 8.359 kB / 378.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.0826, allocations: 46.25 kB / 378.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.08262, allocations: 3.938 kB / 378.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.08263, allocations: 4 kB / 378.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.08264, allocations: 0 / 378.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.08276, allocations: 27.97 kB / 378.7 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.08305, allocations: 249 kB / 378.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.08322, allocations: 70.36 kB / 379 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.08329, allocations: 20.98 kB / 379 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.0833, allocations: 0 / 379 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.08349, allocations: 71.38 kB / 379.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.0835, allocations: 0 / 379.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002892/0.08379, allocations: 101.5 kB / 379.2 MB, free: 15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.08384, allocations: 51.41 kB / 379.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.673e-05/0.08391, allocations: 101.8 kB / 379.4 MB, free: 14.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.08393, allocations: 29.7 kB / 379.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.08398, allocations: 85.22 kB / 379.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.084, allocations: 7.906 kB / 379.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.08404, allocations: 21.7 kB / 379.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.08415, allocations: 318.8 kB / 379.8 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.08421, allocations: 15.98 kB / 379.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.311e-05/0.08428, allocations: 30.56 kB / 379.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.08441, allocations: 62.42 kB / 379.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.08442, allocations: 0 / 379.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001675/0.08459, allocations: 73.61 kB / 380 MB, free: 14.14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.08461, allocations: 7.984 kB / 380 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.08462, allocations: 0 / 380 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.08464, allocations: 4 kB / 380 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.08472, allocations: 7.938 kB / 380 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.08473, allocations: 4 kB / 380 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.08478, allocations: 15.95 kB / 380 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.0848, allocations: 3.938 kB / 380 MB, free: 14.1 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 9.38e-05/0.08489, allocations: 117.8 kB / 380.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.08491, allocations: 0 / 380.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.08494, allocations: 7.5 kB / 380.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.08495, allocations: 0 / 380.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.08496, allocations: 0 / 380.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.08497, allocations: 0 / 380.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.08511, allocations: 173.6 kB / 380.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.08512, allocations: 4 kB / 380.3 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.08518, allocations: 7.984 kB / 380.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.08519, allocations: 0 / 380.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.0852, allocations: 3.938 kB / 380.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.08521, allocations: 4 kB / 380.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.08521, allocations: 384 / 380.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.0854, allocations: 101 kB / 380.4 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.08544, allocations: 85.02 kB / 380.5 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.08547, allocations: 4.281 kB / 380.5 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.08552, allocations: 8 kB / 380.5 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.08556, allocations: 7.984 kB / 380.5 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.08557, allocations: 0 / 380.5 MB, free: 13.49 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.64e-05/0.08561, allocations: 79.28 kB / 380.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08562, allocations: 0 / 380.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001876/0.08581, allocations: 12 kB / 380.6 MB, free: 13.4 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.0004175/0.08623, allocations: 0.628 MB / 381.3 MB, free: 12.74 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.0864, allocations: 47.89 kB / 381.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.08642, allocations: 0 / 381.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.18e-05/0.08649, allocations: 28.11 kB / 381.3 MB, free: 12.67 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.08664, allocations: 0 / 381.3 MB, free: 12.67 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.08701, allocations: 152.8 kB / 381.5 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.08724, allocations: 0.6848 MB / 382.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.882e-05/0.08728, allocations: 7.984 kB / 382.2 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.08732, allocations: 11.44 kB / 382.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08732, allocations: 3.938 kB / 382.2 MB, free: 11.74 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1396/0.227, allocations: 1.103 MB / 383.3 MB, free: 10.61 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.2273, allocations: 160.5 kB / 383.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/1.765, allocations: 0 / 383.4 MB, free: 10.36 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)