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.004245/0.004245, allocations: 100.7 kB / 15.73 MB, free: 6.453 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.001065/0.001065, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.36/1.36, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008577/0.008577, allocations: 1.928 MB / 271.8 MB, free: 3.273 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.001406/0.001406, allocations: 75.89 kB / 377.7 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07647/0.07788, allocations: 47.12 MB / 424.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002475/0.08039, allocations: 1.389 MB / 426.3 MB, free: 324 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002664/0.08068, allocations: 95.73 kB / 426.3 MB, free: 228 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.08074, allocations: 0 / 426.3 MB, free: 228 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.08079, allocations: 3.938 kB / 426.4 MB, free: 224 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.659e-05/0.08084, allocations: 7.938 kB / 426.4 MB, free: 216 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.081, allocations: 15.97 kB / 426.4 MB, free: 200 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.468e-05/0.08107, allocations: 23.92 kB / 426.4 MB, free: 176 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.925e-05/0.08117, allocations: 8 kB / 426.4 MB, free: 168 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.08121, allocations: 7.938 kB / 426.4 MB, free: 160 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.927e-05/0.08126, allocations: 15.92 kB / 426.4 MB, free: 144 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.08128, allocations: 3.938 kB / 426.4 MB, free: 140 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-06/0.0813, allocations: 4 kB / 426.4 MB, free: 136 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.08132, allocations: 4 kB / 426.4 MB, free: 132 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.08136, allocations: 19.91 kB / 426.5 MB, free: 112 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.733e-05/0.08144, allocations: 28.12 kB / 426.5 MB, free: 84 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.08145, allocations: 4 kB / 426.5 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.08146, allocations: 0 / 426.5 MB, free: 80 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.08147, allocations: 0 / 426.5 MB, free: 80 kB / 318.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.1545/0.2359, allocations: 333.9 kB / 426.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.236, allocations: 13.48 kB / 426.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.236, allocations: 35.14 kB / 426.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.2361, allocations: 6.312 kB / 426.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.329e-05/0.2362, allocations: 163.2 kB / 427 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.2362, allocations: 4.156 kB / 427 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.2362, allocations: 1.594 kB / 427 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.2364, allocations: 52.56 kB / 427.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2364, allocations: 3.938 kB / 427.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.2364, allocations: 1.828 kB / 427.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2364, allocations: 1.219 kB / 427.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.2365, allocations: 27.8 kB / 427.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.2369, allocations: 254.8 kB / 427.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.237, allocations: 63.34 kB / 427.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.2371, allocations: 19.89 kB / 427.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.2371, allocations: 0.9688 kB / 427.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.2374, allocations: 73.33 kB / 427.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.2374, allocations: 1.156 kB / 427.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002952/0.2377, allocations: 89.91 kB / 427.6 MB, free: 10.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.2377, allocations: 52.28 kB / 427.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.763e-05/0.2378, allocations: 103.9 kB / 427.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.2378, allocations: 25.7 kB / 427.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.17e-05/0.2378, allocations: 90.38 kB / 427.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.2379, allocations: 11.72 kB / 427.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.2379, allocations: 16.83 kB / 427.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.034e-05/0.2379, allocations: 314.5 kB / 428.2 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.238, allocations: 15.81 kB / 428.2 MB, free: 10.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.2381, allocations: 38.91 kB / 428.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.2382, allocations: 55.45 kB / 428.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2382, allocations: 2.703 kB / 428.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001544/0.2384, allocations: 78.8 kB / 428.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2384, allocations: 5.781 kB / 428.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2384, allocations: 2.688 kB / 428.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2384, allocations: 1.953 kB / 428.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.2385, allocations: 9.938 kB / 428.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.2385, allocations: 3.156 kB / 428.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.856e-05/0.2386, allocations: 5.188 kB / 428.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.2386, allocations: 9.375 kB / 428.4 MB, free: 10.28 MB / 318.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 4.964e-05/0.2386, allocations: 118.8 kB / 428.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-06/0.2386, allocations: 2.812 kB / 428.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.2387, allocations: 3.5 kB / 428.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2387, allocations: 1.469 kB / 428.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2387, allocations: 3.062 kB / 428.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2387, allocations: 1.125 kB / 428.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.886e-05/0.2388, allocations: 174.3 kB / 428.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2388, allocations: 0 / 428.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.2388, allocations: 8.625 kB / 428.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2389, allocations: 1.312 kB / 428.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.2389, allocations: 1.125 kB / 428.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2389, allocations: 2.344 kB / 428.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2389, allocations: 0 / 428.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.2391, allocations: 107.2 kB / 428.9 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.2391, allocations: 83.11 kB / 428.9 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.2391, allocations: 1.688 kB / 428.9 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.023e-05/0.2391, allocations: 8.703 kB / 428.9 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.2392, allocations: 7.016 kB / 429 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.2392, allocations: 2.094 kB / 429 MB, free: 9.789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.151e-05/0.2392, allocations: 84.45 kB / 429 MB, free: 9.711 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2392, allocations: 0 / 429 MB, free: 9.711 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.2394, allocations: 8.438 kB / 429 MB, free: 9.711 MB / 318.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.0003213/0.2398, allocations: 0.6295 MB / 429.7 MB, free: 9.113 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.24, allocations: 48.09 kB / 429.7 MB, free: 9.105 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.24, allocations: 0 / 429.7 MB, free: 9.105 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.24, allocations: 24.94 kB / 429.7 MB, free: 9.105 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.2402, allocations: 0.8438 kB / 429.7 MB, free: 9.105 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.2406, allocations: 150.2 kB / 429.9 MB, free: 8.961 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.2407, allocations: 0.6822 MB / 430.6 MB, free: 8.262 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.34e-05/0.2407, allocations: 2.109 kB / 430.6 MB, free: 8.262 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.2408, allocations: 13.86 kB / 430.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2408, allocations: 0 / 430.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.257, allocations: 1.292 MB / 431.9 MB, free: 7.809 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.19/7.447, allocations: 17.05 kB / 431.9 MB, free: 7.793 MB / 318.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)